ManaPHP\Alias::has PHP Method

has() public method

public has ( string $name ) : boolean
$name string
return boolean
    public function has($name)
    {
        if ($name[0] !== '@') {
            throw new AliasException('`:name` must start with `@`', ['name' => $name]);
        }
        return isset($this->_aliases[$name]);
    }