public function getLayoutAdapter()
    {
        if (null === $this->layoutAdapter) {
            $class = $this->config['layout']['adapter'];

            $this->layoutAdapter = new $class;
            $this->layoutAdapter->setEditor($this);
        }

        return $this->layoutAdapter;
    }
public function getLayoutAdapter()
    {
        if (null === $this->layoutAdapter) {
            $class = $this->config['layout']['adapter'];

            $this->layoutAdapter = new $class;
            $this->layoutAdapter->setEditor($this);
        }

        return $this->layoutAdapter;
    }
public function getLayoutAdapter ( ) { if ( null === $ this -> layoutAdapter ) { $ class = $ this -> config [ 'layout' ] [ 'adapter' ] ; $ this -> layoutAdapter = new $ class ; $ this -> layoutAdapter -> setEditor ( $ this ) ; } return $ this -> layoutAdapter ; }
Returns the layout adapter.

@return AdapterInterface
Returns the layout adapter .