Adamgoose\Routing\Annotations\Annotations\Where::modify PHP Method

modify() public method

public modify ( MethodEndpoint $endpoint, ReflectionMethod $method )
$endpoint Adamgoose\Routing\Annotations\MethodEndpoint
$method ReflectionMethod
    public function modify(MethodEndpoint $endpoint, ReflectionMethod $method)
    {
        foreach ($endpoint->getPaths() as $path) {
            $path->where = array_merge($path->where, (array) $this->value);
        }
    }