# ControllerParametersInterface

Chevere\Interfaces\Controller\ControllerParametersInterface

view source

# Implements

# Description

Describes the component in charge of collecting objects implementing ControllerParameterInterface.

# Methods

# getGenerator()

RETURN

Generator


# toArray()

Provides access to an array representation.

RETURN

array

return [
    'name' => $controllerParameter,
];

# withAdded()

Return an instance with the specified controller parameter instance.

# Parameters

  1. ControllerParameterInterface $controllerParameter

RETURN

ControllerParametersInterface

This method MUST retain the state of the current instance, and return an instance that contains the specified controller parameter instance.


# hasParameterName()

Indicates whether the instance has a parameter identified by $name.

# Parameters

  1. string $name

RETURN

bool


# get()

# Parameters

  1. string $name

THROWS

  • ⚠ Unknown type OutOfBoundsException declared in @throws tag`

Last Updated: 8/2/2020, 1:36:58 AM