protected function getActiveTab($pull = true)
    {
        $key = $this->getModelSessionKey() . ':' . static::ACTIVE_TAB_SESSION_KEY;

        if ($pull) {
            return session()->pull($key);
        }

        return session()->get($key);
    }
protected function getActiveTab($pull = true)
    {
        $key = $this->getModelSessionKey() . ':' . static::ACTIVE_TAB_SESSION_KEY;

        if ($pull) {
            return session()->pull($key);
        }

        return session()->get($key);
    }
protected function getActiveTab ( $ pull = true ) { $ key = $ this -> getModelSessionKey ( ) . ':' . static :: ACTIVE_TAB_SESSION_KEY ; if ( $ pull ) { return session ( ) -> pull ( $ key ) ; } return session ( ) -> get ( $ key ) ; }
Returns the active edit form tab pane key, if it is set.

@param bool $pull    if true, pulls the value from the session
@return null|string
Returns the active edit form tab pane key if it is set .