public function setShortcuts(array $shortcuts)
    {
        $lowered = [];

        foreach ($shortcuts as $from => $to) {
            $lowered[strtolower($from)] = strtolower($to);
        }

        $this->shortcuts = $lowered;
    }
public function setShortcuts(array $shortcuts)
    {
        $lowered = [];

        foreach ($shortcuts as $from => $to) {
            $lowered[strtolower($from)] = strtolower($to);
        }

        $this->shortcuts = $lowered;
    }
public function setShortcuts ( array $ shortcuts ) { $ lowered = [ ] ; foreach ( $ shortcuts as $ from => $ to ) { $ lowered [ strtolower ( $ from ) ] = strtolower ( $ to ) ; } $ this -> shortcuts = $ lowered ; }
Set shortcuts to aliased classes.

@param array $shortcuts Shortcut to alias map.

@return void
Set shortcuts to aliased classes .