class Resource
Methods
__construct(String $original, String $target)
Constructor |
||
String |
getTarget()
Returns the target |
|
String |
getOriginal()
Returns the original path |
|
Boolean |
canBeProcessedInPlace(String $context)
Returns wheter the resource can be processed in place given a context or not. |
Details
at line 25
public
__construct(String $original, String $target)
Constructor
at line 36
public String
getTarget()
Returns the target
at line 46
public String
getOriginal()
Returns the original path
at line 62
public Boolean
canBeProcessedInPlace(String $context)
Returns wheter the resource can be processed in place given a context or not.
For example :
- /path/to/file1 can be processed to file1 in /path/to context
- /path/to/subdir/file2 can be processed to subdir/file2 in /path/to context