Copied!

Value Object representing a Callable type.

  • psalm-immutable
CloneableFinalInstantiable
Methods
public __construct(array $parameters = [], ?phpDocumentor\Reflection\Type $returnType = NULL)
 
  • param \CallableParameter[] $parameters
public __toString() : string
 

Returns a rendered output of the Type as it would be used in a DocBlock.

public getParameters() : array
 
  • return \CallableParameter[]
public getReturnType() : ?phpDocumentor\Reflection\Type
Properties
private $parameters = NULL
 
  • var \CallableParameter[]
private $returnType = NULL
 
  • var \Type|null
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration