src/Phassets/Phassets.php
private function deployAsset($deploy, Asset $asset)
    {
        if ($this->loadDeployer($deploy)) {
            try {
                $this->deployersInstances[$deploy]->deploy($asset);
            } catch (PhassetsInternalException $e) {
                $this->loadedLogger->error('An error occurred while deploying the asset: ' . $e);
            }
        }
    }
private function deployAsset($deploy, Asset $asset)
    {
        if ($this->loadDeployer($deploy)) {
            try {
                $this->deployersInstances[$deploy]->deploy($asset);
            } catch (PhassetsInternalException $e) {
                $this->loadedLogger->error('An error occurred while deploying the asset: ' . $e);
            }
        }
    }
private function deployAsset ( $ deploy , Asset $ asset ) { if ( $ this -> loadDeployer ( $ deploy ) ) { try { $ this -> deployersInstances [ $ deploy ] -> deploy ( $ asset ) ; } catch ( PhassetsInternalException $ e ) { $ this -> loadedLogger -> error ( 'An error occurred while deploying the asset: ' . $ e ) ; } } }
Tries to load a deployer and passes the Asset instance through it.

@param string $deploy Deployer to load/use
@param Asset $asset
Tries to load a deployer and passes the Asset instance through it .