Source on GitHub
Represents an asset resource
$resource = new \Phalcon\Assets\Resource('js', 'javascripts/jquery.js');
Methods
public getType ()
public getPath ()
public getLocal ()
public getFilter ()
public getAttributes ()
public getSourcePath ()
...
public getTargetPath ()
...
public getTargetUri ()
...
public __construct (string $type, string $path, [boolean $local], [boolean $filter], [array $attributes])
Phalcon\Assets\Resource constructor
public setType (mixed $type)
Sets the resource’