final protected function getLayoutProvider()
    {
        $layout = LayoutProvider::getProvider();
        $layout->generateValueEvent->attachHandler(function ($elementName) {
            if (isset($this->leaves[$elementName])) {
                return $this->leaves[$elementName];
            }

            return null;
        });

        return $layout;
    }
final protected function getLayoutProvider()
    {
        $layout = LayoutProvider::getProvider();
        $layout->generateValueEvent->attachHandler(function ($elementName) {
            if (isset($this->leaves[$elementName])) {
                return $this->leaves[$elementName];
            }

            return null;
        });

        return $layout;
    }
final protected function getLayoutProvider ( ) { $ layout = LayoutProvider :: getProvider ( ) ; $ layout -> generateValueEvent -> attachHandler ( function ( $ elementName ) { if ( isset ( $ this -> leaves [ $ elementName ] ) ) { return $ this -> leaves [ $ elementName ] ; } return null ; } ) ; return $ layout ; }
Gets the default layout provider and binds to the generateValueEvent event

@return LayoutProvider
Gets the default layout provider and binds to the generateValueEvent event