public function addInterface(string $interfaceName, string $alias = null)
    {
        $this->interfaces[] = $this->addUse($interfaceName, $alias);
    }
public function addInterface(string $interfaceName, string $alias = null)
    {
        $this->interfaces[] = $this->addUse($interfaceName, $alias);
    }
public function addInterface ( string $ interfaceName , string $ alias = null ) { $ this -> interfaces [ ] = $ this -> addUse ( $ interfaceName , $ alias ) ; }
Adds an interface

@param string $interfaceName
@param string $alias

@throws DuplicateUseWithAliasException
Adds an interface