protected function setupMiddleware()
    {
        $this->editorFormat = StoryFormat::get(Input::get('format'));

        $this->middleware('orchestra.auth');
        $this->middleware("orchestra.story.editor:{$this->editorFormat}");
    }
protected function setupMiddleware()
    {
        $this->editorFormat = StoryFormat::get(Input::get('format'));

        $this->middleware('orchestra.auth');
        $this->middleware("orchestra.story.editor:{$this->editorFormat}");
    }
protected function setupMiddleware ( ) { $ this -> editorFormat = StoryFormat :: get ( Input :: get ( 'format' ) ) ; $ this -> middleware ( 'orchestra.auth' ) ; $ this -> middleware ( "orchestra.story.editor:{$this->editorFormat}" ) ; }
Define the middleware.

@return void
Define the middleware .