Class ResourceControllerFactory

package | PhlyRestfully\Factory

### Methods

## Determine if we can create a service with name

    canCreateServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $controllers, string $name, string $requestedName) : bool

### Parameters

#### $controllers

`\Zend\ServiceManager\ServiceLocatorInterface`

#### $name

`string`

#### $requestedName

`string`

### Returns

`bool`

## Create service with name

    createServiceWithName(\Zend\ServiceManager\ServiceLocatorInterface $controllers, string $name, string $requestedName) : \PhlyRestfully\ResourceController

### Parameters

#### $controllers

`\Zend\ServiceManager\ServiceLocatorInterface`

#### $name

`string`

#### $requestedName

`string`

### Exceptions

`\Zend\ServiceManager\Exception\ServiceNotCreatedException` | if listener specified is not a ListenerAggregate

### Returns

`\PhlyRestfully\ResourceController`