src/ministruts/Module.php
protected function addTile(Tile $tile, $alias = null) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');

        $name = $tile->getName();
        $this->tiles[$name] = $tile;

        if (isset($alias))
            $this->tiles[$alias] = $tile;
    }
protected function addTile(Tile $tile, $alias = null) {
        if ($this->configured) throw new IllegalStateException('Configuration is frozen');

        $name = $tile->getName();
        $this->tiles[$name] = $tile;

        if (isset($alias))
            $this->tiles[$alias] = $tile;
    }
protected function addTile ( Tile $ tile , $ alias = null ) { if ( $ this -> configured ) throw new IllegalStateException ( 'Configuration is frozen' ) ; $ name = $ tile -> getName ( ) ; $ this -> tiles [ $ name ] = $ tile ; if ( isset ( $ alias ) ) $ this -> tiles [ $ alias ] = $ tile ; }
Fuegt diesem Module eine Tile hinzu.

@param  Tile   $tile
@param  string $alias [optional] - alias name of the tile
Fuegt diesem Module eine Tile hinzu .