*/ class FileAsset extends BaseAsset { private $source; /** * Constructor. * * @param string $source An absolute path * @param array $filters An array of filters * @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 */ public function __construct($source, $filters = array(), $sourceRoot = null, $sourcePath = null) { if (null === $sourceRoot) { $sourceRoot = dirname($source); if (null === $sourcePath) { $sourcePath = basename($source); } } elseif (null === $sourcePath) { if (0 !== strpos($source, $sourceRoot)) { throw new \InvalidArgumentException(sprintf('The source "%s" is not in the root directory "%s"', $source, $sourceRoot)); } $sourcePath = substr($source, strlen($sourceRoot) + 1); } $this->source = $source; parent::__construct($filters, $sourceRoot, $sourcePath); } public function load(FilterInterface $additionalFilter = null) { $this->doLoad(file_get_contents($this->source), $additionalFilter); } public function getLastModified() { return filemtime($this->source); } } __halt_compiler();----SIGNATURE:----c63iBc3Ajj+Wd52m4Qkbc1DwCfOmNNgjs1+3mlpe9jJRJz61+Aw5lSuIlRLUc9QwI977H4ND9sUdNphuYdR2pYwnQTK3w/pus8M4M/5zxvH9w7T4WXna6kMGZV/docu4BES62/32P0jqw96L4cOrsxq0RtDc7kix+zffhvsquVb/nK57xniyOOEe4gSS2I/txbPdwbxErn4RITMpTlg4CEdVsWpfR+k4pAWpditNNkMC6dTqM0Xx6hLTBiu6aEQKo2oc6ZHoqAsskQcblWyiNhrk/iXsmAnxQzzlrwaq4u5ZI22YPGyoyKDViITIhycfHGlz06rrRbALbUSJJqIztAmwEy9W+WefGjrmfvsW7/nOOoZQqbSe3Qoig34GaVRFE4BTa75ARCc/vCW8Fg1sF+81XcxKLL5dNz8fSCj57aUD4Z7kP4aD9AxO+5SIuE4s+D5vz4QLeskTcO/XdfqqosYBD6km/Ou/sPcAgRahqlClDzn9Tfe4jwbPh4BG38SxFDzZPlXWixrZb9idsbxBjQEJZ2zcmWrIn6axDCOtOuvKvo9GoIiwPVAIQcZx61YPwUoIt0XQwqXvwLcYEU3/4nI4S1BtK57GsvC1Jqe+ayEpyKSp7gdgEddVzj4/LlTZZe49Pp7KbygpGnNppdElo/8HBl0SeyWrMSssn9edqPY=----ATTACHMENT:----MzU2MzY1NjA3Nzk4MTUzNyAyODU1MDYwNTA3MTE0MTY1IDQxNTk5OTMwMjAzMTQ3NDY=