PHP Класс Neos\Flow\Tests\Unit\ObjectManagement\Fixture\BasicClass

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$firstDependency Some injected dependency
$hasBeenInitialized Flag which reveals if the initializeAfterPropertiesSet method has been called.
$secondDependency Some injected dependency
$someProperty Some property

Открытые методы

Метод Описание
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 .

Защищенные методы

Метод Описание
someProtectedMethod ( ) : void Some protected method

Приватные методы

Метод Описание
somePrivateMethod ( ) : void Some private method

Описание методов

getFirstDependency() публичный Метод

Getter method for $firstDependency
public getFirstDependency ( ) : mixed
Результат mixed The value of $firstDependency

getSecondDependency() публичный Метод

Getter method for $secondDependency
public getSecondDependency ( ) : mixed
Результат mixed The value of $secondDependency

getSomeProperty() публичный Метод

Getter method for $someProperty
public getSomeProperty ( ) : mixed
Результат mixed The value of $someProperty

hasBeenInitialized() публичный Метод

Returns the hasBeenInitialized flag
public hasBeenInitialized ( ) : boolean
Результат boolean Returns the hasBeenInitialized flag

initializeAfterPropertiesSet() публичный Метод

The object initialization method which is called after properties have been injected.
public initializeAfterPropertiesSet ( ) : void
Результат void

injectInjectOrSetMethod() публичный Метод

This setter injection method is used to check if it is preferred over the setInjectOrSetMethod() method.
public injectInjectOrSetMethod ( mixed $value ) : void
$value mixed
Результат void

injectSecondDependency() публичный Метод

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
Результат void

methodWhichExpectsAnArrayArgument() публичный Метод

A great method which expects an array as an argument
См. также: Neos\Flow\Aop\Builder\AdvicedMethodInterceptorBuilderTest
public methodWhichExpectsAnArrayArgument ( array $someArray ) : void
$someArray array Some array
Результат void

setFirstDependency() публичный Метод

Setter method for $firstDependency
public setFirstDependency ( object $value ) : void
$value object An object
Результат void

setInjectOrSetMethod() публичный Метод

This setter injection method is used to check if it the injectInjectOrSetMethod() is preferred over this method.
public setInjectOrSetMethod ( mixed $value ) : void
$value mixed
Результат void

setSomeProperty() публичный Метод

Setter method for $someProperty
public setSomeProperty ( mixed $value ) : void
$value mixed Some value
Результат void

someFinalMethod() закрытый публичный Метод

A final public function
См. также:
final public someFinalMethod ( ) : void
Результат void

someProtectedMethod() защищенный Метод

Some protected method
protected someProtectedMethod ( ) : void
Результат void

throwAnException() публичный Метод

..
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
Результат void

Описание свойств

$firstDependency защищенное свойство

Some injected dependency
protected $firstDependency

$hasBeenInitialized защищенное свойство

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

$secondDependency защищенное свойство

Some injected dependency
protected $secondDependency

$someProperty защищенное свойство

Some property
protected $someProperty