PhpSpec\CodeAnalysis\AccessInspector::isPropertyReadable PHP Méthode

isPropertyReadable() public méthode

public isPropertyReadable ( object $object, string $property ) : boolean
$object object
$property string
Résultat boolean
    public function isPropertyReadable($object, $property);

Usage Example

Exemple #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