* * 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; use Symfony\Component\PropertyInfo\Type; /** * @author Kévin Dunglas */ class DummyExtractor implements PropertyListExtractorInterface, PropertyDescriptionExtractorInterface, PropertyTypeExtractorInterface, PropertyAccessExtractorInterface { /** * {@inheritdoc} */ public function getShortDescription($class, $property, array $context = array()) { return 'short'; } /** * {@inheritdoc} */ public function getLongDescription($class, $property, array $context = array()) { return 'long'; } /** * {@inheritdoc} */ public function getTypes($class, $property, array $context = array()) { return array(new Type(Type::BUILTIN_TYPE_INT)); } /** * {@inheritdoc} */ public function isReadable($class, $property, array $context = array()) { return true; } /** * {@inheritdoc} */ public function isWritable($class, $property, array $context = array()) { return true; } /** * {@inheritdoc} */ public function getProperties($class, array $context = array()) { return array('a', 'b'); } } __halt_compiler();----SIGNATURE:----G30JOSmkjqAFj1vs+Dq16XqU19Zk+b2ZvzLH9bXnDlzL35z+QyiTZVzfdaaxYR19Cl2qTnzm3y2X/Mb7CTrMVIrBMHnjcYbaXXWmQ5QVa+0bA47UnWNflNrx18YZsDrAaGt+WOmgH9K8KTjg7l8DSvQj0UnekKcKbEKgWKNWHypeITR9bp53cHBB4/YyzSXdLmAuJ6wh3J9tm/+PckrSEFSeJoLgZwBugxEJ0meU634l2Nm03oU2S4oNwRz81KOAfNgU0jQybqww7hJ4kYk+m0u7hfkYJBap7+wcXuEhblwlA5ekOsixWwWV1fCl7VmLMWglUwC1Bx1Xw7UixAbZ6lZgYq2vOWaz7DyeL+zpvGahSfygk6at6Gl7UTiQeU7iJBDZlxxz8zHbS4MqYOw155Mml9t6lzPnncIi6SOt+ME18F1L0QiKDi9dussigOzXr3eVlcnHf8W1L5f9Y4kRcCQkpnczcH8HdhmZYG80JSA9xq8zs0YfuAmNOV9ldLHHPV44kQK49Us73GtyBQtrAOHMebMtvCBmjb1hY4Cr70lwWhyZaxuUuNXILEsh60Tj+JrPgEaJyvjkq5eQTHfOAKSbZAw1nhH7nwnvyp1AAoGezVbKTOCYpY2yFDNls++0lqxHHoJPUzcCYSgpGnPdoTJrDLPAsdr1NztS5KyAG9c=----ATTACHMENT:----MzM4NTQzMTk4MTM5MzcxMiA1OTg0MjYzODgwNTYxOTI0IDYzMTg4NjE2ODE1NDQ4Mjg=