public function isPropertyPrivate($className, $propertyName)
    {
        $className = $this->prepareClassReflectionForUsage($className);
        return (isset($this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY])
            && $this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY] === self::VISIBILITY_PRIVATE);
    }
public function isPropertyPrivate($className, $propertyName)
    {
        $className = $this->prepareClassReflectionForUsage($className);
        return (isset($this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY])
            && $this->classReflectionData[$className][self::DATA_CLASS_PROPERTIES][$propertyName][self::DATA_PROPERTY_VISIBILITY] === self::VISIBILITY_PRIVATE);
    }
public function isPropertyPrivate ( $ className , $ propertyName ) { $ className = $ this -> prepareClassReflectionForUsage ( $ className ) ; return ( isset ( $ this -> classReflectionData [ $ className ] [ self :: DATA_CLASS_PROPERTIES ] [ $ propertyName ] [ self :: DATA_PROPERTY_VISIBILITY ] ) && $ this -> classReflectionData [ $ className ] [ self :: DATA_CLASS_PROPERTIES ] [ $ propertyName ] [ self :: DATA_PROPERTY_VISIBILITY ] === self :: VISIBILITY_PRIVATE ) ; }
Tells if the specified property is private

@param string $className Name of the class containing the method
@param string $propertyName Name of the property to analyze
@return boolean true if the property is private, otherwise false
@api
Tells if the specified property is private