PhpSpec\CodeAnalysis\AccessInspector::isPropertyReadable PHP Метод

isPropertyReadable() публичный Метод

public isPropertyReadable ( object $object, string $property ) : boolean
$object object
$property string
Результат boolean
    public function isPropertyReadable($object, $property);

Usage Example

Пример #1
0
 /**
  * @param string $property
  *
  * @return bool
  */
 private function isObjectPropertyReadable($property)
 {
     $subject = $this->getWrappedObject();
     return is_object($subject) && $this->accessInspector->isPropertyReadable($subject, $property);
 }
All Usage Examples Of PhpSpec\CodeAnalysis\AccessInspector::isPropertyReadable