* * 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:----qePmxjur0YfbeZrp4sW6C4iUn84JF6+ZnvbReT1IOd0f90Savxcw3OrFwqqorbKOalI1yuhkW6nzuYOzAhd+NlVEL05JTdbN84nwlmFji/dTy4/6bfWwdJ702GVILwEqMXcQDcWMxa4KEOQTrmD6a4CkPFp4UzlifqQL2h2RXYApDn3XQYHq3Q6P0/SBmpPNxoByiciBZdnmiGtG8lOhQv7xdlwoQFAaOrNKkvIH9DahUmctZkISI9ifDB9e58EzxDigO/DeuRpkKqWFHPHnzOClQNL7l0DC3E+adH/p/xsAW6DEtLWBjSavDjMuMVwc3sYyIYVr5zRSl3SyhFmZA2haDHO1qLxoawX+EYz49lieJXueHoYK19Kzn3pschr2p/zTGJtjzsJBwSARoAjn/RzVpH5JWIxLFFqMOFBb2mArvVQX8t5WFGwN4+qXbsszPrayCjWdmWrUG9uGcDCH0wUvbv4sPIYyH0kUlBjHf8g3ghxM2iRvQnFOxoQCHO6wBHFc5y3Be5cD/yq+8JTShruKgfOcMuKV7G4M5kcha8/wYorcY84PZInwkdsE3LtydbW+v1hT1lNpZahrFElHeoSFxqtqkDnrZOWBM50uEwB73RGML/dyuQ8IUCHpIPvJZmoTcwyWygWNw8+kdkCA39K/Gh8WP4XqTZEaawthNTg=----ATTACHMENT:----NzQ2NzA3NTkxMjY0NTAxOCA4MjUwMDk4MzI4NzI3MzI4IDQ0MTI2MTg5MzYzOTI5Nw==