private function getPropertyTypes()
    {
        $reflection = new \ReflectionClass('ONGR\ElasticsearchBundle\Annotation\Property');

        return $this
            ->getContainer()
            ->get('es.annotations.cached_reader')
            ->getPropertyAnnotation($reflection->getProperty('type'), 'Doctrine\Common\Annotations\Annotation\Enum')
            ->value;
    }
private function getPropertyTypes()
    {
        $reflection = new \ReflectionClass('ONGR\ElasticsearchBundle\Annotation\Property');

        return $this
            ->getContainer()
            ->get('es.annotations.cached_reader')
            ->getPropertyAnnotation($reflection->getProperty('type'), 'Doctrine\Common\Annotations\Annotation\Enum')
            ->value;
    }
private function getPropertyTypes ( ) { $ reflection = new \ ReflectionClass ( 'ONGR\ElasticsearchBundle\Annotation\Property' ) ; return $ this -> getContainer ( ) -> get ( 'es.annotations.cached_reader' ) -> getPropertyAnnotation ( $ reflection -> getProperty ( 'type' ) , 'Doctrine\Common\Annotations\Annotation\Enum' ) -> value ; }
Returns available property types

@return array
Returns available property types