123456789101112131415161718 |
- <?php
- namespace Osinet\DemoBundle;
- use Symfony\Component\DependencyInjection\ContainerInterface;
- class DemoCode {
- protected $message;
- public function __construct(ContainerInterface $container, string $codeMessage) {
- $this->message = $container->getParameter('osinet_demo.message');
- }
- public function getMessage() {
- return $this->message;
- }
- }
|