Assetic\Factory\Resource\CoalescingDirectoryResource::getRelativeName
Returns the relative version of a filename.
Signature
protected function getRelativeName(ResourceInterface
$file,
ResourceInterface
$directory )
Parameters
$file
— Assetic\Factory\Resource\ResourceInterface- The file
$directory
— Assetic\Factory\Resource\ResourceInterface- The directory
Returns
- string
- The name to compare with files from other directories