PHP Class Fakerino\Core\Entity\EntityInfo

Author: Nicola Pietroluongo ([email protected])
Datei anzeigen Open project: fakerino/fakerino Class Usage Examples

Public Methods

Method Description
__construct ( object $entity ) Constructor
getMethods ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array Gets the methods of the object provided.
getProperties ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array Gets the properties of the object provided.
getSetters ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array Returns the public setters methods.

Method Details

__construct() public method

Constructor
public __construct ( object $entity )
$entity object

getMethods() public method

Gets the methods of the object provided.
public getMethods ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array
$filter integer
return array

getProperties() public method

Gets the properties of the object provided.
public getProperties ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array
$filter integer
return array

getSetters() public method

Returns the public setters methods.
public getSetters ( integer $filter = ReflectionProperty::IS_PUBLIC ) : array
$filter integer
return array