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

Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$firstDependency Some injected dependency
$hasBeenInitialized Flag which reveals if the initializeAfterPropertiesSet method has been called.
$secondDependency Some injected dependency
$someProperty Some property

Public Methods

Method 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 .

Protected Methods

Method Description
someProtectedMethod ( ) : void Some protected method

Private Methods

Method Description
somePrivateMethod ( ) : void Some private method

Method Details

getFirstDependency() public method

Getter method for $firstDependency
public getFirstDependency ( ) : mixed
return mixed The value of $firstDependency

getSecondDependency() public method

Getter method for $secondDependency
public getSecondDependency ( ) : mixed
return mixed The value of $secondDependency

getSomeProperty() public method

Getter method for $someProperty
public getSomeProperty ( ) : mixed
return mixed The value of $someProperty

hasBeenInitialized() public method

Returns the hasBeenInitialized flag
public hasBeenInitialized ( ) : boolean
return boolean Returns the hasBeenInitialized flag

initializeAfterPropertiesSet() public method

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

injectInjectOrSetMethod() public method

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

injectSecondDependency() public method

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
return void

methodWhichExpectsAnArrayArgument() public method

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
return void

setFirstDependency() public method

Setter method for $firstDependency
public setFirstDependency ( object $value ) : void
$value object An object
return void

setInjectOrSetMethod() public method

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

setSomeProperty() public method

Setter method for $someProperty
public setSomeProperty ( mixed $value ) : void
$value mixed Some value
return void

someFinalMethod() final public method

A final public function
See also:
final public someFinalMethod ( ) : void
return void

someProtectedMethod() protected method

Some protected method
protected someProtectedMethod ( ) : void
return void

throwAnException() public method

..
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
return void

Property Details

$firstDependency protected property

Some injected dependency
protected $firstDependency

$hasBeenInitialized protected property

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

$secondDependency protected property

Some injected dependency
protected $secondDependency

$someProperty protected property

Some property
protected $someProperty