diff --git a/composer.json b/composer.json index b67b5581..dccde5c0 100644 --- a/composer.json +++ b/composer.json @@ -22,6 +22,7 @@ "doctrine/doctrine-orm-module": "0.*" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "3.7.*", + "phpdocumentor/phpdocumentor": "dev-develop" } } diff --git a/composer.phar b/composer.phar index e9fa7b71..65f18a1d 100644 Binary files a/composer.phar and b/composer.phar differ diff --git a/module/Fmi/src/Fmi/Controller/IndexController.php b/module/Fmi/src/Fmi/Controller/IndexController.php index 3320c6dc..2458eefa 100644 --- a/module/Fmi/src/Fmi/Controller/IndexController.php +++ b/module/Fmi/src/Fmi/Controller/IndexController.php @@ -1,12 +1,18 @@ description + * + * @link https://github.com/wingman007/fmi for the canonical source repository + * @copyright Copyright (c) 2005-2013 LightSoft 2005 Ltd. Bulgaria + * @license https://github.com/coolcsn/CsnUser/blob/master/LICENSE BSD(3-Clause)License + * @author Stoyan Cheresharov */ +/** + * This is our custom namespace for FMI project + */ namespace Fmi\Controller; use Zend\Mvc\Controller\AbstractActionController; @@ -26,8 +32,27 @@ use Fmi\Entity\User; +/** + * FMI controller + * + * This controller has been build with educational purposes + */ class IndexController extends AbstractActionController { + /** + * Property to hold Doctrine Entity Manager + * + * @var object + */ + protected $_em = null; + + /** + * Retrieve action from CRUD + * + * The method uses Doctrine Entity Manager to retrieve the Entities from the virtual database + * + * @return Zend\View\Model\ViewModel|array colection of objects + */ public function indexAction() { $entityManager = $this->getServiceLocator()->get('doctrine.entitymanager.orm_default'); diff --git a/vendor/.gitignore b/vendor/.gitignore index a19d9982..9b255883 100644 --- a/vendor/.gitignore +++ b/vendor/.gitignore @@ -9,3 +9,14 @@ doctrine symfony coolcsn phpunit +cilex +dflydev +jms +monolog +nikic +phpcollection +phpdocumentor +phpoption +pimple +psr +twig