PHP Class PhpSpec\CodeAnalysis\VisibilityAccessInspector

Inheritance: implements PhpSpec\CodeAnalysis\AccessInspector
Datei anzeigen Open project: phpspec/phpspec

Public Methods

Method Description
isMethodCallable ( object $object, string $method ) : boolean
isPropertyReadable ( object $object, string $property ) : boolean
isPropertyWritable ( object $object, string $property ) : boolean

Private Methods

Method Description
isExistingPublicMethod ( object $object, string $method ) : boolean
isExistingPublicProperty ( object $object, string $property ) : boolean

Method Details

isMethodCallable() public method

public isMethodCallable ( object $object, string $method ) : boolean
$object object
$method string
return boolean

isPropertyReadable() public method

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

isPropertyWritable() public method

public isPropertyWritable ( object $object, string $property ) : boolean
$object object
$property string
return boolean