for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Sensorario\Resources;
final class Configurator
{
private $container;
private $resourceName;
public function __construct(
$resourceName,
Container $container
) {
$this->resourceName = $resourceName;
$this->container = $container;
}
public function allowed()
return $this->container->allowed(
$this->resourceName
);
public function mandatory()
return $this->container->mandatory(
public function defaults()
return $this->container->defaults(
public function rules()
return $this->container->rules(
public function allowedValues()
return $this->container->allowedValues(
public function resourceName()
return $this->resourceName;
public function container()
return $this->container;
public function globals()
return $this->container->globals();