protected function prepareAlias($alias, $concrete)
    {
        if ( ! $alias && $alias !== false && ! $concrete instanceof \Closure) {
            $alias = str_replace('{class}', $concrete, $this->aliasPattern);
        }

        return $alias;
    }
protected function prepareAlias($alias, $concrete)
    {
        if ( ! $alias && $alias !== false && ! $concrete instanceof \Closure) {
            $alias = str_replace('{class}', $concrete, $this->aliasPattern);
        }

        return $alias;
    }
protected function prepareAlias ( $ alias , $ concrete ) { if ( ! $ alias && $ alias !== false && ! $ concrete instanceof \ Closure ) { $ alias = str_replace ( '{class}' , $ concrete , $ this -> aliasPattern ) ; } return $ alias ; }
Prepares the alias.

@param  string  $alias
@param  mixed  $concrete
@return mixed
Prepares the alias .