src/Phassets/Deployers/FilesystemDeployer.php
public function isSupported()
    {
        $this->destinationPath = $this->configurator->getConfig('filesystem_deployer', 'destination_path');
        $this->baseUrl = $this->configurator->getConfig('filesystem_deployer', 'base_url');
        $this->trigger = $this->configurator->getConfig('filesystem_deployer', 'changes_trigger');

        if ($this->destinationPath === null) {
            throw new PhassetsInternalException(__CLASS__ . ': no "destination_path" setting found');
        }

        if (!is_dir($this->destinationPath) || !is_writable($this->destinationPath)) {
            throw new PhassetsInternalException(__CLASS__ . ": 'destination_path' ({$this->destinationPath}) is " .
            'either not a valid dir, nor writable.'
            );
        }
    }
public function isSupported()
    {
        $this->destinationPath = $this->configurator->getConfig('filesystem_deployer', 'destination_path');
        $this->baseUrl = $this->configurator->getConfig('filesystem_deployer', 'base_url');
        $this->trigger = $this->configurator->getConfig('filesystem_deployer', 'changes_trigger');

        if ($this->destinationPath === null) {
            throw new PhassetsInternalException(__CLASS__ . ': no "destination_path" setting found');
        }

        if (!is_dir($this->destinationPath) || !is_writable($this->destinationPath)) {
            throw new PhassetsInternalException(__CLASS__ . ": 'destination_path' ({$this->destinationPath}) is " .
            'either not a valid dir, nor writable.'
            );
        }
    }
public function isSupported ( ) { $ this -> destinationPath = $ this -> configurator -> getConfig ( 'filesystem_deployer' , 'destination_path' ) ; $ this -> baseUrl = $ this -> configurator -> getConfig ( 'filesystem_deployer' , 'base_url' ) ; $ this -> trigger = $ this -> configurator -> getConfig ( 'filesystem_deployer' , 'changes_trigger' ) ; if ( $ this -> destinationPath === null ) { throw new PhassetsInternalException ( __CLASS__ . ': no "destination_path" setting found' ) ; } if ( ! is_dir ( $ this -> destinationPath ) || ! is_writable ( $ this -> destinationPath ) ) { throw new PhassetsInternalException ( __CLASS__ . ": 'destination_path' ({$this->destinationPath}) is " . 'either not a valid dir, nor writable.' ) ; } }
This must throw a PhassetsInternalException if the current configuration
doesn't allow this deployer to deploy processed assets.

@throws PhassetsInternalException If at this time Phassets can't use this deployer to
deploy and serve deployed assets
This must throw a PhassetsInternalException if the current configuration doesn t allow this deployer to deploy processed assets .