public function fromRequest(Request $request)
    {
        $pageName = $request->get('page');
        $language = $request->get('_locale');
        $permalink = $request->get('permalink');
        $options = array(
            "pageName" => $pageName,
            "languageName" => $language,
            "permalink" => $permalink,
            "pageId" => (int) $request->get('pageId'),
            "languageId" => (int) $request->get('languageId'),
        );

        $this->fromOptions($options);
    }
public function fromRequest(Request $request)
    {
        $pageName = $request->get('page');
        $language = $request->get('_locale');
        $permalink = $request->get('permalink');
        $options = array(
            "pageName" => $pageName,
            "languageName" => $language,
            "permalink" => $permalink,
            "pageId" => (int) $request->get('pageId'),
            "languageId" => (int) $request->get('languageId'),
        );

        $this->fromOptions($options);
    }
public function fromRequest ( Request $ request ) { $ pageName = $ request -> get ( 'page' ) ; $ language = $ request -> get ( '_locale' ) ; $ permalink = $ request -> get ( 'permalink' ) ; $ options = array ( "pageName" => $ pageName , "languageName" => $ language , "permalink" => $ permalink , "pageId" => ( int ) $ request -> get ( 'pageId' ) , "languageId" => ( int ) $ request -> get ( 'languageId' ) , ) ; $ this -> fromOptions ( $ options ) ; }
Initializes the DataManager object from a request

@param Request $request
Initializes the DataManager object from a request