public static function find($filename, $package = null)
    {
        $_this = self::getInstance();
        if (!is_null($package)) {
            return self::findInPackage($filename, $package);
        } else {
            return self::findInPath($filename, $_this->getAssetsRealPath());
        }
    }
public static function find($filename, $package = null)
    {
        $_this = self::getInstance();
        if (!is_null($package)) {
            return self::findInPackage($filename, $package);
        } else {
            return self::findInPath($filename, $_this->getAssetsRealPath());
        }
    }
public static function find ( $ filename , $ package = null ) { $ _this = self :: getInstance ( ) ; if ( ! is_null ( $ package ) ) { return self :: findInPackage ( $ filename , $ package ) ; } else { return self :: findInPath ( $ filename , $ _this -> getAssetsRealPath ( ) ) ; } }
Find an asset file in the filesystem

@param   string  $filename   The asset filename to find
@param   string  $package    The name of a package to search in (optional)
@return  string|null         The web path of the asset if found, `null` otherwise
Find an asset file in the filesystem