public function find($id)
    {
        foreach ($this->locked as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

        foreach ($this->failed as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

        foreach ($this->queue as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

    }
public function find($id)
    {
        foreach ($this->locked as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

        foreach ($this->failed as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

        foreach ($this->queue as $attributes) {
            if ($attributes['id'] == $id) {
                return $attributes;
            }
        }

    }
public function find ( $ id ) { foreach ( $ this -> locked as $ attributes ) { if ( $ attributes [ 'id' ] == $ id ) { return $ attributes ; } } foreach ( $ this -> failed as $ attributes ) { if ( $ attributes [ 'id' ] == $ id ) { return $ attributes ; } } foreach ( $ this -> queue as $ attributes ) { if ( $ attributes [ 'id' ] == $ id ) { return $ attributes ; } } }
Find a specific job in the pipeline using its id and return its attributes.
@param mixed $id
@return array|null
Find a specific job in the pipeline using its id and return its attributes .