This file contains hidden or 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 Admin\Model; | |
| use Core\Test\ModelTestCase; | |
| use Admin\Model\User; | |
| use Zend\InputFilter\InputFilterInterface; | |
| /** | |
| *@group Model | |
| */ |
This file contains hidden or 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 Admin\Model; | |
| use Core\Model\Entity; | |
| use Zend\InputFilter\Factory as InputFactory; | |
| use Zend\InputFilter\InputFilter; | |
| /** | |
| * @category Admin |
This file contains hidden or 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 Admin\Controller; | |
| use Core\Test\ControllerTestCase; | |
| use Admin\Controller\UsersController; | |
| use Admin\Model\User; | |
| use Zend\Http\Request; | |
| use Zend\Stdlib\Parameters; | |
| use Zend\View\Renderer\PhpRenderer; |
This file contains hidden or 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 Admin\Form; | |
| use Zend\Form\Form; | |
| class User extends Form { | |
| public function __construct() { | |
| parent::__construct('user'); |
This file contains hidden or 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 Admin\Controller; | |
| use Zend\View\Model\ViewModel; | |
| use Core\Controller\ActionController; | |
| class UsersController extends ActionController { | |
| protected $table = '\Admin\Model\User'; |
This file contains hidden or 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 Admin\Service; | |
| use Core\Test\ServiceTestCase; | |
| use Admin\Model\User; | |
| use Zend\Authentication\AuthenticationService; | |
| /** | |
| * @group Service |
This file contains hidden or 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 Admin\Service; | |
| use Core\Service\Service; | |
| use Zend\Authentication\AuthenticationService; | |
| use Zend\Authentication\Adapter\DbTable as AuthAdapter; | |
| /** | |
| * @category Admin |
This file contains hidden or 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 Admin\Form; | |
| use Zend\Form\Form; | |
| class Login extends Form { | |
| public function __construct() { | |
| parent::__construct('login'); |
This file contains hidden or 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 | |
| use Core\Test\ControllerTestCase; | |
| use Admin\Model\User; | |
| /** | |
| * @group Controller | |
| */ | |
| class AuthControllerTest extends ControllerTestCase { |
This file contains hidden or 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 Admin\Controller; | |
| use Zend\View\Model\ViewModel; | |
| use Core\Controller\ActionController; | |
| use Admin\Form\Login; | |
| /** | |
| * Controlador que gerencia os posts |
OlderNewer