Robbo\Presenter\Presenter::__getDecorator PHP Method

__getDecorator() protected method

Get the decorator, if none exists then use the default. Underscores here to avoid conflicts if a presenter or object needs to use "getDecorator".
protected __getDecorator ( )
    protected function __getDecorator()
    {
        if (is_null(static::$__decorator)) {
            static::$__decorator = new Decorator();
        }
        return static::$__decorator;
    }