Assets\Resource
Class Phalcon\Assets\Resource
Represents an asset resource
$resource = new Phalcon\Assets\Resource('js', 'javascripts/jquery.js');
Methods
public __construct (string $type, string $path, [boolean $local], [boolean $filter], [array $attributes])
Phalcon\Assets\Resource constructor
public Phalcon\Assets\Resource setType (string $type)
Sets the resource’s type
public string getType ()
Returns the type of resource