* * 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:----LQHB8inRpc38/Wes8fXAjaUaN+wO4P2YrFY69B0ANT2UpjCEMXXd9xq993i9jCf+RE/b8OJJ2SNtUsDJhazT4p+3bZFnNxYYPFJLrRD1teDy+3+Bo4k4FOf7DijDv9H77VvmUVVH7qrED4iCEAeKnYqFUR24MYxCVWWMyS7l+Pb9D9nEFlzfC5YnZn1jtIfPEyI7S7r+hiXEgZjLPgli6/IxypHy3E+x6PaR0jXnceswiI8ABVqRzvGSa6OieoQWsZb3yqmUfU6lGeLfL9nRYhDZkKfeuaHniFKC37Kmlk+6leI5iFq8wwF8Hhqjm853uIqRQkvbkkd1Q/md6Nqt/2Prj/8ITjzeWkE2QDUIXCB/jajRmEwTSVdDg/Kz4XAbeclABkpsrtR3k1oGxsGir87aRV0Hc0ESe7/6JvVrQbrR998DIT0EA+nCVPJxHqc/wx1QjfEyGTrRQGta+FrJvESqpN3QIA+VGYNsrP+c1K/ptzd0CyUygU0w6UXd2oToSciWzc8zpipCU/zKNcI1mfXE5AZ9kduLQV9Mk2e9/I24Z196YW14yZ0KLP/zyX03fR0IpcCQskdCEllUGdnhhBFUCmrvsdavj5cl20u7L4oLqAeRRBAvRFJGRcKRmmgRiabuYWECOv91WLue8Chp689Gq05V9g4Hql8A3rlMth4=----ATTACHMENT:----NDU5ODA5MzE1MTA0NDM5IDIyNDgzMjQyMzczMDg4MzcgMTE0NzE1MTc2MDQxNjU0MA==