src/Service/AbstractOrganizedTemplateController.php
/**
     * Finds all templates with given name
     *
     * @param string $name
     * @return array
     */
Finds all templates with given name
@param string $name
@return array
Finds all templates with given name @param string $name @return array
public function findTemplatesWithName(string $name): array {
        $temps = [];
        foreach($this->yieldIDsWithName($name) as $t)
            $temps[$t] = $this->getTemplate($t);
        return $temps;
    }
public function findTemplatesWithName ( string $ name ) : array { $ temps = [ ] ; foreach ( $ this -> yieldIDsWithName ( $ name ) as $ t ) $ temps [ $ t ] = $ this -> getTemplate ( $ t ) ; return $ temps ; }
Finds all templates with given name
 @param string $name
 @return array
Finds all templates with given name @param string $name @return array