function isProperty()
    {
        //Get the annotation index
        $i = $this->getAnnotationIndex(self::PROPERTY);

        //If the property annotation is on here
        if($i >= 0)
        {
            //Set the format (Date, JSON, scalar, etc)
            $this->format = $this->annotations[$i]->format;

            //This is a property
            return true;
        }

        else
        {
            //Not a property
            return false;
        }
    }
function isProperty()
    {
        //Get the annotation index
        $i = $this->getAnnotationIndex(self::PROPERTY);

        //If the property annotation is on here
        if($i >= 0)
        {
            //Set the format (Date, JSON, scalar, etc)
            $this->format = $this->annotations[$i]->format;

            //This is a property
            return true;
        }

        else
        {
            //Not a property
            return false;
        }
    }
function isProperty ( ) { //Get the annotation index $ i = $ this -> getAnnotationIndex ( self :: PROPERTY ) ; //If the property annotation is on here if ( $ i >= 0 ) { //Set the format (Date, JSON, scalar, etc) $ this -> format = $ this -> annotations [ $ i ] -> format ; //This is a property return true ; } else { //Not a property return false ; } }
Checks if this property is indeed a property.

@return bool
Checks if this property is indeed a property .