Pay attention to 2 files: Collection.php and ICollections.php
File system structure:
I generate phpDocument, I receive it:
But he saw these files and parsil, because There are tags: 
Please tell me why not create html files for these classes? ( Collection.php and ICollections.php )
Just in case, I post the code of the Collection.php file:
namespace App\Collections; /** * Class Collection * @package App\Collections */ class Collection implements ICollections { protected $typeItem; protected $data = []; public function __construct($type_items) { if (class_exists($type_items) || interface_exists($type_items)) { $this->typeItem = $type_items; } else { // TODO: Exception ("Π½Π΅ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΉ ΡΠΈΠΏ") exit("ΠΠ΅ΠΈΠ·Π²Π΅ΡΡΠ½ΡΠΉ ΡΠΈΠΏ Π΄Π»Ρ ΡΠΈΠΏΠΈΠ·Π°ΡΠΈΠΈ ΠΊΠΎΠ»Π»Π΅ΡΠΈΠΈ"); } } /** * ΠΠΎΠ±Π°Π²ΠΈΡΡ ΡΠ»Π΅ΠΌΠ΅Π½Ρ Π² ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΡ * @param object $item ΠΠ±ΡΠ΅ΠΊΡ ΡΠΈΠΏΠ°, ΡΠΊΠ°Π·Π°Π½Π½ΠΎΠ³ΠΎ ΠΏΡΠΈ ΠΈΠ½ΠΈΡΠΈΠ°Π»ΠΈΠ·Π°ΡΠΈΠΈ ΠΊΠΎΠ»Π»Π΅ΠΊΡΠΈΠΈ */ public function add($item) { if ($this->checkType($item)) { $this->data[] = $item; } else { // TODO: Exception ("Π½Π΅ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡΠΈΠΉ ΡΠΈΠΏ") exit("ΠΠ΅ ΠΏΠΎΠ΄Ρ
ΠΎΠ΄ΠΈΡ ΡΠΈΠΏ ΠΎΠ±ΡΠ΅ΠΊΡΠ° Π΄Π»Ρ ΠΠΎΠ»Π»Π΅ΠΊΡΠΈΠΈ"); } } public function remove($item) { if ($this->checkType($item)) { foreach ($this->data as $key => $value) { if ($item == $value) { unset($this->data[$key]); break; } } } } public function array() { return $this->data; } protected function checkType($item) { if ($item instanceof $this->typeItem) return true; return false; } public function getType() { return $this->typeItem; } } 
