Drest\Query\ExposeFields::__construct PHP Method

__construct() private method

Create an instance of ExposeFields - use create() method
private __construct ( RouteMetaData $route )
$route Drest\Mapping\RouteMetaData - requires a matched route
    private function __construct(RouteMetaData $route)
    {
        $this->route = $route;
        $this->route_expose = $route->getExpose();
    }