src/Assets.php
public function findMainAsset($asset)
    {
        if (file_exists($asset) && $this->checkLink($asset)) {
            return '/' . $this->assetDir . '/' . $this->asset['asset'];
        }

        return false;
    }
public function findMainAsset($asset)
    {
        if (file_exists($asset) && $this->checkLink($asset)) {
            return '/' . $this->assetDir . '/' . $this->asset['asset'];
        }

        return false;
    }
public function findMainAsset ( $ asset ) { if ( file_exists ( $ asset ) && $ this -> checkLink ( $ asset ) ) { return '/' . $ this -> assetDir . '/' . $ this -> asset [ 'asset' ] ; } return false ; }
check for a main asset

@param   string          Full Absolute path to the main asset
@return  string|bool     url path to asset or bool false
check for a main asset