| 1 | <?php |
||
| 10 | final class InflectorServiceProvider extends AbstractServiceProvider implements BootableServiceProviderInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var InflectorConfig |
||
| 14 | */ |
||
| 15 | private $config; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @api |
||
| 19 | * |
||
| 20 | * @param InflectorConfig $config |
||
| 21 | */ |
||
| 22 | public function __construct(InflectorConfig $config) |
||
| 26 | |||
| 27 | public function register() |
||
| 30 | |||
| 31 | public function boot() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param InflectorDefinition $definition |
||
| 40 | */ |
||
| 41 | private function configureInterface(InflectorDefinition $definition) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $interface |
||
| 54 | * @param string $method |
||
| 55 | * @param array $args |
||
| 56 | */ |
||
| 57 | private function addInflectorMethod($interface, $method, array $args) |
||
| 63 | } |
||
| 64 |