PhpSpec\CodeAnalysis\AccessInspector::isPropertyReadable PHP Method

isPropertyReadable() public method

public isPropertyReadable ( object $object, string $property ) : boolean
$object object
$property string
return boolean
    public function isPropertyReadable($object, $property);

Usage Example

Esempio n. 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