public function alias($alias, $name) {
		if (is_array($alias)) {
			foreach ($alias as $key) {
				$this->alias($key, $name);
			}

			return;
		}

		$this->aliases[$alias] = $name;
	}
public function alias($alias, $name) {
		if (is_array($alias)) {
			foreach ($alias as $key) {
				$this->alias($key, $name);
			}

			return;
		}

		$this->aliases[$alias] = $name;
	}
public function alias ( $ alias , $ name ) { if ( is_array ( $ alias ) ) { foreach ( $ alias as $ key ) { $ this -> alias ( $ key , $ name ) ; } return ; } $ this -> aliases [ $ alias ] = $ name ; }
Register component alias

@param  string $alias Component alias
@param  string $name  Component name
@return void
Register component alias