@@ -37,7 +37,7 @@ interface AssetCollectionInterface extends AssetInterface, \Traversable
|
||||
*
|
||||
* @param AssetInterface $needle The leaf to remove
|
||||
*
|
||||
* @throws InvalidArgumentException If the asset cannot be found
|
||||
* @throws \InvalidArgumentException If the asset cannot be found
|
||||
*/
|
||||
function removeLeaf(AssetInterface $leaf);
|
||||
|
||||
|
@@ -31,7 +31,7 @@ class FileAsset extends BaseAsset
|
||||
* @param string $sourceRoot The source asset root directory
|
||||
* @param string $sourcePath The source asset path
|
||||
*
|
||||
* @throws InvalidArgumentException If the supplied root doesn't match the source when guessing the path
|
||||
* @throws \InvalidArgumentException If the supplied root doesn't match the source when guessing the path
|
||||
*/
|
||||
public function __construct($source, $filters = array(), $sourceRoot = null, $sourcePath = null, array $vars = array())
|
||||
{
|
||||
|
@@ -31,7 +31,7 @@ class HttpAsset extends BaseAsset
|
||||
* @param string $sourceUrl The source URL
|
||||
* @param array $filters An array of filters
|
||||
*
|
||||
* @throws InvalidArgumentException If the first argument is not an URL
|
||||
* @throws \InvalidArgumentException If the first argument is not an URL
|
||||
*/
|
||||
public function __construct($sourceUrl, $filters = array(), $ignoreErrors = false, array $vars = array())
|
||||
{
|
||||
|
@@ -29,7 +29,7 @@ class AssetManager
|
||||
*
|
||||
* @return AssetInterface The asset
|
||||
*
|
||||
* @throws InvalidArgumentException If there is no asset by that name
|
||||
* @throws \InvalidArgumentException If there is no asset by that name
|
||||
*/
|
||||
public function get($name)
|
||||
{
|
||||
|
@@ -25,7 +25,7 @@ class AsseticNode extends \Twig_Node
|
||||
* * var_name: The name of the variable to expose to the body node
|
||||
*
|
||||
* @param AssetInterface $asset The asset
|
||||
* @param Twig_NodeInterface $body The body node
|
||||
* @param \Twig_NodeInterface $body The body node
|
||||
* @param array $inputs An array of input strings
|
||||
* @param array $filters An array of filter strings
|
||||
* @param string $name The name of the asset
|
||||
|
@@ -111,7 +111,7 @@ class LazyAssetManager extends AssetManager
|
||||
*
|
||||
* @return array The formula
|
||||
*
|
||||
* @throws InvalidArgumentException If there is no formula by that name
|
||||
* @throws \InvalidArgumentException If there is no formula by that name
|
||||
*/
|
||||
public function getFormula($name)
|
||||
{
|
||||
@@ -140,7 +140,7 @@ class LazyAssetManager extends AssetManager
|
||||
/**
|
||||
* Loads formulae from resources.
|
||||
*
|
||||
* @throws LogicException If a resource has been added to an invalid loader
|
||||
* @throws \LogicException If a resource has been added to an invalid loader
|
||||
*/
|
||||
public function load()
|
||||
{
|
||||
|
@@ -53,7 +53,7 @@ class FilterManager
|
||||
*
|
||||
* @param string $name An asset name candidate
|
||||
*
|
||||
* @throws InvalidArgumentException If the asset name is invalid
|
||||
* @throws \InvalidArgumentException If the asset name is invalid
|
||||
*/
|
||||
protected function checkName($name)
|
||||
{
|
||||
|
Reference in New Issue
Block a user