protected function getDownFilePayload()
    {
        // Get the Laravel file data & add ours (selected view)
        $data = parent::getDownFilePayload();
        $data['view'] = $this->option('view');

        if(!isset($data['allowed'])) {
            $data['allowed'] =  $this->option('allow');
        }
        return $data;
    }
protected function getDownFilePayload()
    {
        // Get the Laravel file data & add ours (selected view)
        $data = parent::getDownFilePayload();
        $data['view'] = $this->option('view');

        if(!isset($data['allowed'])) {
            $data['allowed'] =  $this->option('allow');
        }
        return $data;
    }
protected function getDownFilePayload ( ) { // Get the Laravel file data & add ours (selected view) $ data = parent :: getDownFilePayload ( ) ; $ data [ 'view' ] = $ this -> option ( 'view' ) ; if ( ! isset ( $ data [ 'allowed' ] ) ) { $ data [ 'allowed' ] = $ this -> option ( 'allow' ) ; } return $ data ; }
Get the payload to be placed in the "down" file.

@return array
Get the payload to be placed in the down file .