public static function findInPackage($filename, $package)
    {
        $_this = self::getInstance();
        $package_path = DirectoryHelper::slashDirname($_this->getPackageAssetsPath($package));
        if (!is_null($package_path)) {
            $asset_path = $package_path . $filename;
            if (file_exists($asset_path)) {
                return self::buildWebPath($asset_path);
            }
        }
        return null;
    }
public static function findInPackage($filename, $package)
    {
        $_this = self::getInstance();
        $package_path = DirectoryHelper::slashDirname($_this->getPackageAssetsPath($package));
        if (!is_null($package_path)) {
            $asset_path = $package_path . $filename;
            if (file_exists($asset_path)) {
                return self::buildWebPath($asset_path);
            }
        }
        return null;
    }
public static function findInPackage ( $ filename , $ package ) { $ _this = self :: getInstance ( ) ; $ package_path = DirectoryHelper :: slashDirname ( $ _this -> getPackageAssetsPath ( $ package ) ) ; if ( ! is_null ( $ package_path ) ) { $ asset_path = $ package_path . $ filename ; if ( file_exists ( $ asset_path ) ) { return self :: buildWebPath ( $ asset_path ) ; } } return null ; }
Find an asset file in the filesystem of a specific package

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