public function isAccessibleFrom(string $property, $class) : bool
    {
        return isset($this->propertyAccessibilityMap[$property])
                ? $this->propertyAccessibilityMap[$property]->isAccessibleFrom($class)
                : false;
    }
public function isAccessibleFrom(string $property, $class) : bool
    {
        return isset($this->propertyAccessibilityMap[$property])
                ? $this->propertyAccessibilityMap[$property]->isAccessibleFrom($class)
                : false;
    }
public function isAccessibleFrom ( string $ property , $ class ) : bool { return isset ( $ this -> propertyAccessibilityMap [ $ property ] ) ? $ this -> propertyAccessibilityMap [ $ property ] -> isAccessibleFrom ( $ class ) : false ; }
Returns whether the supplied property is accessible
from the supplied class scope.

@param string      $property
@param string|null $class

@return bool
Returns whether the supplied property is accessible from the supplied class scope .