PHP Class Nelmio\Alice\Definition\Object\SimpleObject

Inheritance: implements Nelmio\Alice\ObjectInterface
Afficher le fichier Open project: nelmio/alice Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( string $reference, object $instance )
getId ( ) : string
getInstance ( )
withInstance ( object $newInstance ) : self

Method Details

__construct() public méthode

public __construct ( string $reference, object $instance )
$reference string
$instance object

getId() public méthode

public getId ( ) : string
Résultat string

getInstance() public méthode

public getInstance ( )

withInstance() public méthode

public withInstance ( object $newInstance ) : self
$newInstance object
Résultat self