Adamgoose\Routing\Annotations\MethodEndpoint::__construct PHP Method

__construct() public method

Create a new route definition instance.
public __construct ( array $attributes = [] ) : void
$attributes array
return void
    public function __construct(array $attributes = array())
    {
        foreach ($attributes as $key => $value) {
            $this->{$key} = $value;
        }
    }