349. Class

349.1. Zend\Di\Definition\ClassDefinition

Class definitions for a single class

349.1.1. Methods

349.1.1.1. __construct

__construct()

@param string $class

349.1.1.2. setInstantiator

setInstantiator()

@param null|Callable|array|string $instantiator

Return type:self

349.1.1.3. setSupertypes

setSupertypes()

@param string[] $supertypes

Return type:self

349.1.1.4. addMethod

addMethod()

@param string $method

Parameters:bool|null
Return type:self

349.1.1.5. addMethodParameter

addMethodParameter()

@param $method

Parameters:
  • $parameterName
  • array – (keys: required, type)
Return type:

ClassDefinition

349.1.1.6. getClasses

getClasses()

{@inheritDoc}

349.1.1.7. hasClass

hasClass()

{@inheritDoc}

349.1.1.8. getClassSupertypes

getClassSupertypes()

{@inheritDoc}

349.1.1.9. getInstantiator

getInstantiator()

{@inheritDoc}

349.1.1.10. hasMethods

hasMethods()

{@inheritDoc}

349.1.1.11. getMethods

getMethods()

{@inheritDoc}

349.1.1.12. hasMethod

hasMethod()

{@inheritDoc}

349.1.1.13. hasMethodParameters

hasMethodParameters()

{@inheritDoc}

349.1.1.14. getMethodParameters

getMethodParameters()

{@inheritDoc}