Optimized documentation and class naming

This commit is contained in:
Kevin Frantz
2019-01-19 22:52:49 +01:00
parent 71c7a7f080
commit 4b86acb372
24 changed files with 195 additions and 41 deletions

View File

@@ -0,0 +1,41 @@
<?php
namespace App\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;
/**
* Allows to get branches and leaves of a tree.
*
* @author kevinfrantz
*/
interface TreeSourceInformationInterface
{
/**
* Delivers the branches of the actual tree back.
*
* @return Collection
*/
public function getBranches(): Collection;
/**
* Delivers the members of the actual tree back.
*
* @return Collection
*/
public function getLeaves(): Collection;
/**
* Delivers all members till a infinite level of the tree back.
*
* @return Collection
*/
public function getAllLeaves(): Collection;
/**
* Delivers all branches till a infinite level of the actual tree back.
*
* @return Collection
*/
public function getAllBranches(): Collection;
}