Asvae\ApiTester\Entities\RouteInfo::toArray PHP Method

toArray() public method

public toArray ( ) : array
return array
    public function toArray()
    {
        return array_merge(['name' => $this->route->getName(), 'methods' => $this->route->getMethods(), 'domain' => $this->route->domain(), 'path' => $this->preparePath(), 'action' => $this->route->getAction(), 'wheres' => $this->extractWheres(), 'errors' => $this->errors], $this->getMeta(), $this->options);
    }