PHP Class Neos\Flow\Tests\Unit\ObjectManagement\Fixture\BasicClass

Afficher le fichier Open project: neos/flow-development-collection

Protected Properties

Свойство Type Description
$firstDependency Some injected dependency
$hasBeenInitialized Flag which reveals if the initializeAfterPropertiesSet method has been called.
$secondDependency Some injected dependency
$someProperty Some property

Méthodes publiques

Méthode Description
getFirstDependency ( ) : mixed Getter method for $firstDependency
getSecondDependency ( ) : mixed Getter method for $secondDependency
getSomeProperty ( ) : mixed Getter method for $someProperty
hasBeenInitialized ( ) : boolean Returns the hasBeenInitialized flag
initializeAfterPropertiesSet ( ) : void The object initialization method which is called after properties have been injected.
injectInjectOrSetMethod ( mixed $value ) : void This setter injection method is used to check if it is preferred over the setInjectOrSetMethod() method.
injectSecondDependency ( object $value ) : void A method for setter injection of a dependency which is used for checking if injection of explicitly defined dependencies (without autowiring) works.
methodWhichExpectsAnArrayArgument ( array $someArray ) : void A great method which expects an array as an argument
setFirstDependency ( object $value ) : void Setter method for $firstDependency
setInjectOrSetMethod ( mixed $value ) : void This setter injection method is used to check if it the injectInjectOrSetMethod() is preferred over this method.
setSomeProperty ( mixed $value ) : void Setter method for $someProperty
someFinalMethod ( ) : void A final public function
throwAnException ( string $exceptionType, mixed $parameter1 = null, mixed $parameter2 = null ) : void Throws an exception .

Méthodes protégées

Méthode Description
someProtectedMethod ( ) : void Some protected method

Private Methods

Méthode Description
somePrivateMethod ( ) : void Some private method

Method Details

getFirstDependency() public méthode

Getter method for $firstDependency
public getFirstDependency ( ) : mixed
Résultat mixed The value of $firstDependency

getSecondDependency() public méthode

Getter method for $secondDependency
public getSecondDependency ( ) : mixed
Résultat mixed The value of $secondDependency

getSomeProperty() public méthode

Getter method for $someProperty
public getSomeProperty ( ) : mixed
Résultat mixed The value of $someProperty

hasBeenInitialized() public méthode

Returns the hasBeenInitialized flag
public hasBeenInitialized ( ) : boolean
Résultat boolean Returns the hasBeenInitialized flag

initializeAfterPropertiesSet() public méthode

The object initialization method which is called after properties have been injected.
public initializeAfterPropertiesSet ( ) : void
Résultat void

injectInjectOrSetMethod() public méthode

This setter injection method is used to check if it is preferred over the setInjectOrSetMethod() method.
public injectInjectOrSetMethod ( mixed $value ) : void
$value mixed
Résultat void

injectSecondDependency() public méthode

A method for setter injection of a dependency which is used for checking if injection of explicitly defined dependencies (without autowiring) works.
public injectSecondDependency ( object $value ) : void
$value object An object
Résultat void

methodWhichExpectsAnArrayArgument() public méthode

A great method which expects an array as an argument
See also: Neos\Flow\Aop\Builder\AdvicedMethodInterceptorBuilderTest
public methodWhichExpectsAnArrayArgument ( array $someArray ) : void
$someArray array Some array
Résultat void

setFirstDependency() public méthode

Setter method for $firstDependency
public setFirstDependency ( object $value ) : void
$value object An object
Résultat void

setInjectOrSetMethod() public méthode

This setter injection method is used to check if it the injectInjectOrSetMethod() is preferred over this method.
public setInjectOrSetMethod ( mixed $value ) : void
$value mixed
Résultat void

setSomeProperty() public méthode

Setter method for $someProperty
public setSomeProperty ( mixed $value ) : void
$value mixed Some value
Résultat void

someFinalMethod() final public méthode

A final public function
See also:
final public someFinalMethod ( ) : void
Résultat void

someProtectedMethod() protected méthode

Some protected method
protected someProtectedMethod ( ) : void
Résultat void

throwAnException() public méthode

..
public throwAnException ( string $exceptionType, mixed $parameter1 = null, mixed $parameter2 = null ) : void
$exceptionType string Class name of the exception to throw
$parameter1 mixed First parameter to pass to the exception constructor
$parameter2 mixed Second parameter to pass to the exception constructor
Résultat void

Property Details

$firstDependency protected_oe property

Some injected dependency
protected $firstDependency

$hasBeenInitialized protected_oe property

Flag which reveals if the initializeAfterPropertiesSet method has been called.
protected $hasBeenInitialized

$secondDependency protected_oe property

Some injected dependency
protected $secondDependency

$someProperty protected_oe property

Some property
protected $someProperty