* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\PropertyInfo\Tests\Fixtures; use Symfony\Component\PropertyInfo\PropertyAccessExtractorInterface; use Symfony\Component\PropertyInfo\PropertyDescriptionExtractorInterface; use Symfony\Component\PropertyInfo\PropertyListExtractorInterface; use Symfony\Component\PropertyInfo\PropertyTypeExtractorInterface; /** * Not able to guess anything. * * @author Kévin Dunglas */ class NullExtractor implements PropertyListExtractorInterface, PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface { /** * {@inheritdoc} */ public function getShortDescription($class, $property, array $context = array()) { $this->assertIsString($class); $this->assertIsString($property); } /** * {@inheritdoc} */ public function getLongDescription($class, $property, array $context = array()) { $this->assertIsString($class); $this->assertIsString($property); } /** * {@inheritdoc} */ public function getTypes($class, $property, array $context = array()) { $this->assertIsString($class); $this->assertIsString($property); } /** * {@inheritdoc} */ public function isReadable($class, $property, array $context = array()) { $this->assertIsString($class); $this->assertIsString($property); } /** * {@inheritdoc} */ public function isWritable($class, $property, array $context = array()) { $this->assertIsString($class); $this->assertIsString($property); } /** * {@inheritdoc} */ public function getProperties($class, array $context = array()) { $this->assertIsString($class); } private function assertIsString($string) { if (!is_string($string)) { throw new \InvalidArgumentException(sprintf('"%s" expects strings, given "%s".', __CLASS__, gettype($string))); } } } __halt_compiler();----SIGNATURE:----b90u7XZXh7QcX/XVQw4RX5f+B137THHRo71BfalUhrLMe3fyvG4jIlMYzFAwyvPEFScJNONiPJg/B8MRPRFu9OQnfegd5dHbD7gMOPV9TmkPfvrfIOtuVgDnS40rsfBan2PJHSkT3ysD9I7+BVJaLqHYN2JE9kMVa8t1T8iX8Rq8X9Io5j7pWSI6gR3CbsoVwCpQVR2PUMyQkmbjCabqGZweNeF+Z7ypbX3TwmckEzb15mIFvPUs60myOeQU2OGd4GgVjk/IKWUvC6s/qpVzEAsqCLNStCy0F8yr6xPRPnyCnhfeL3pbRTwkkr+fBxuLGmZ4tP/VQUlbnPx0LWj1yrvdT74HFmIto6+7xgYKHgt/Sggu2FB9jATeYZeJxG2iRKQrRrr4L8q+FSDlyKrI3Nfdx+Xn6ZrvnL7qbJLpO29UxJjpIZLkaFcQ/GBrPki25PV9MsiaLLZHghNB/Kvqwmivkbh+ILVZXEjc5pg/znpGw7b2jfE+Sp8v45nAoxVLLwoIEmV+C/PYDOktdTjT46yLLC2vBxLgHtexwR6DUjUJQkuMq3SCzqrT2crPFjCiX/eb2TsDH1KIHk95xmwSCOajoRbUlWO62KS6L5j7tRmFMasPVlv7daYkQVPpUUI1drH0E7OWZDeDBEnF49Lx+xBkK+gI21lZH3oGBgQYWqw=----ATTACHMENT:----MTg0MDk5NzAwODkwNTc2NCA4ODY0OTIxNDI3ODkxNDIgNjk3MzM2NDczODQ4OTk1MQ==