property_exists

Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Checks if the object or class has a property
property_exists(object|string $object_or_classstring $property): bool
    public function __construct($event)

    {

        
$this->event $event;

        
$this->tries property_exists($event'tries') ? $event->tries null;

        
$this->timeout property_exists($event'timeout') ? $event->timeout null;

        
$this->backoff property_exists($event'backoff') ? $event->backoff null;

        
$this->afterCommit property_exists($event'afterCommit') ? $event->afterCommit null;
    {

        
$this->event $event;

        
$this->tries property_exists($event'tries') ? $event->tries null;

        
$this->timeout property_exists($event'timeout') ? $event->timeout null;

        
$this->backoff property_exists($event'backoff') ? $event->backoff null;

        
$this->afterCommit property_exists($event'afterCommit') ? $event->afterCommit null;

    }
        $this->event $event;

        
$this->tries property_exists($event'tries') ? $event->tries null;

        
$this->timeout property_exists($event'timeout') ? $event->timeout null;

        
$this->backoff property_exists($event'backoff') ? $event->backoff null;

        
$this->afterCommit property_exists($event'afterCommit') ? $event->afterCommit null;

    }
        $this->tries property_exists($event'tries') ? $event->tries null;

        
$this->timeout property_exists($event'timeout') ? $event->timeout null;

        
$this->backoff property_exists($event'backoff') ? $event->backoff null;

        
$this->afterCommit property_exists($event'afterCommit') ? $event->afterCommit null;

    }
        $models->each(function ($model) {

            
$instance = new $model;



            
$chunkSize property_exists($instance'prunableChunkSize')

                            ? 
$instance->prunableChunkSize

                            
$this->option('chunk');
    public function newBroadcastableModelEvent($event)

    {

        return 
tap($this->newBroadcastableEvent($event), function ($event) {

            
$event->connection property_exists($this'broadcastConnection')

                            ? 
$this->broadcastConnection

                            
$this->broadcastConnection();
                            $this->broadcastConnection

                            
$this->broadcastConnection();



            
$event->queue property_exists($this'broadcastQueue')

                            ? 
$this->broadcastQueue

                            
$this->broadcastQueue();
                            $this->broadcastQueue

                            
$this->broadcastQueue();



            
$event->afterCommit property_exists($this'broadcastAfterCommit')

                            ? 
$this->broadcastAfterCommit

                            
$this->broadcastAfterCommit();

        });
        return tap($job, function ($job) use ($listener) {

            
$data array_values($job->data);



            
$job->afterCommit property_exists($listener'afterCommit') ? $listener->afterCommit null;

            
$job->backoff method_exists($listener'backoff') ? $listener->backoff(...$data) : ($listener->backoff ?? null);

            
$job->maxExceptions $listener->maxExceptions ?? null;

            
$job->retryUntil method_exists($listener'retryUntil') ? $listener->retryUntil(...$data) : null;
        if (property_exists($provider'bindings')) {

            foreach (
$provider->bindings as $key => $value) {

                
$this->bind($key$value);

            }
            }

        }



        if (
property_exists($provider'singletons')) {

            foreach (
$provider->singletons as $key => $value) {

                
$this->singleton($key$value);

            }
    protected function connectionsToTransact()

    {

        return 
property_exists($this'connectionsToTransact')

                            ? 
$this->connectionsToTransact : [null];

    }

}
    protected function connectionsToTransact()

    {

        return 
property_exists($this'connectionsToTransact')

                            ? 
$this->connectionsToTransact : [null];

    }
        $this->setUpHasRun false;



        if (
property_exists($this'serverVariables')) {

            
$this->serverVariables = [];

        }
            $this->serverVariables = [];

        }



        if (
property_exists($this'defaultHeaders')) {

            
$this->defaultHeaders = [];

        }