public function resources(array $resources)
    {
        foreach ($resources as $name => $resource) {
            $options = [];

            if (\is_array($resource)) {
                list($resource, $options) = $resource;
            }

            $this->resource($name, $resource, $options);
        }
    }