Pay attention to 2 files: Collection.php and ICollections.php

File system structure:

enter image description here

I generate phpDocument, I receive it:

enter image description here

But he saw these files and parsil, because There are tags: enter image description here

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; } } 

    0