This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace SampleService\Controller; | |
use Zend\Mvc\Controller\AbstractActionController; | |
use Zend\View\Model\ViewModel; | |
// Each 'AwareTrait' is expected to be configured by the controllers factory | |
use SampleService\Service\Feature\UserServiceAwareTrait; | |
use SampleService\Service\Feature\UserFilterServiceAwareTrait; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @var \SampleService\Service\UserService $service */ | |
$userService = $serviceLocator->get('my-service\UserService'); |
NewerOlder