Phan\Language\Element\Method::getIsMagic PHP Method

getIsMagic() public method

public getIsMagic ( ) : boolean
return boolean True if this is a magic method
    public function getIsMagic() : bool
    {
        return in_array($this->getName(), ['__call', '__callStatic', '__clone', '__construct', '__debugInfo', '__destruct', '__get', '__invoke', '__isset', '__set', '__set_state', '__sleep', '__toString', '__unset', '__wakeup']);
    }