* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Config; @trigger_error('The '.__NAMESPACE__.'\AutowireServiceResource class is deprecated since Symfony 3.3 and will be removed in 4.0. Use ContainerBuilder::getReflectionClass() instead.', E_USER_DEPRECATED); use Symfony\Component\Config\Resource\SelfCheckingResourceInterface; use Symfony\Component\DependencyInjection\Compiler\AutowirePass; /** * @deprecated since version 3.3, to be removed in 4.0. Use ContainerBuilder::getReflectionClass() instead. */ class AutowireServiceResource implements SelfCheckingResourceInterface, \Serializable { private $class; private $filePath; private $autowiringMetadata = array(); public function __construct($class, $path, array $autowiringMetadata) { $this->class = $class; $this->filePath = $path; $this->autowiringMetadata = $autowiringMetadata; } public function isFresh($timestamp) { if (!file_exists($this->filePath)) { return false; } // has the file *not* been modified? Definitely fresh if (@filemtime($this->filePath) <= $timestamp) { return true; } try { $reflectionClass = new \ReflectionClass($this->class); } catch (\ReflectionException $e) { // the class does not exist anymore! return false; } return (array) $this === (array) AutowirePass::createResourceForClass($reflectionClass); } public function __toString() { return 'service.autowire.'.$this->class; } public function serialize() { return serialize(array($this->class, $this->filePath, $this->autowiringMetadata)); } public function unserialize($serialized) { if (\PHP_VERSION_ID >= 70000) { list($this->class, $this->filePath, $this->autowiringMetadata) = unserialize($serialized, array('allowed_classes' => false)); } else { list($this->class, $this->filePath, $this->autowiringMetadata) = unserialize($serialized); } } /** * @deprecated Implemented for compatibility with Symfony 2.8 */ public function getResource() { return $this->filePath; } } __halt_compiler();----SIGNATURE:----d6oRgszFFUSGwRZOw89Ki1N4DO6RPumribGwXjbckyVHuGuaKtZ/TimM+RTWSa+Sw2Xqa8BK2f6TUnHbzG8faUNlB0dl0OePzWHB/d2ajzUaUJS62JpuQMIIyebTGUhyk4aMBflBfK4clPpQJUP1c+OVJTXwWnEpBmHmKhOB4RtQNlu3CPFIA+htN2gKZKj8RCmP8wgDV15tUOhkZrEy5+ElCfuq8SEE2zYOYSPsyW/KFmnrG2kGbDW8wQk5rr1ywQNF393v+HTs2RSvC1DjJ8Y/GWZZ/ojoMQ4/CBedBEHnBQpjRhu1xd3yRjf6boi92/QRI2jzF8jQLJYKalw37fxg7SXALbVR8zE4EGg3OSwy1myk6aSdrbkii7yio3b0phc160HXSDTcR7rveT6gp2VQjVe3Y1WKAwERJKHvIWU08Yuol19YABkOFY9nYfXJrmhYJURBsS+d91zQK+VGtU3BRKx5Xhm2NEoUhmjb3oft40ICmbuZK6rBoPj/kRZBGNGDD3+BxGT0CPAbeVF1LHl10y12PlnrJsUomptczuZ0iLIN/j0RS6OzIs3j/IFqRjd94/dB7gVxSiC7ST3pU8eDE5RaoqezgQEPtiZ8Y2wiRo519TeAhThea65jOr9olwtNM6JbRX5enbxOW6qe3so7wINIB0SJM74dmP5M4Qs=----ATTACHMENT:----ODMwMzcyMzQ3NDA3NTA2NCA2MjY5NDI4MTk5Nzg5NjIzIDE0NDA1NjMyMDI1OTM2OTk=