PHP Interface PhpSpec\CodeAnalysis\AccessInspector

Mostra file Open project: phpspec/phpspec Interface Usage Examples

Public Methods

Method Description
isMethodCallable ( object $object, string $method ) : boolean
isPropertyReadable ( object $object, string $property ) : boolean
isPropertyWritable ( 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