original_string: public function getListParent()
      {
          $parent = session()->get($this->getSessionKey(static::TYPE_PARENT));
  
          if (null === $parent) {
              return null;
          }
  
          if (static::PARENT_DISABLE === $parent) {
              return false;
          }
  
          list($relation, $key) = explode(':', $parent, 2);
  
          return compact('relation', 'key');
      }
code: public function getListParent()
      {
          $parent = session()->get($this->getSessionKey(static::TYPE_PARENT));
  
          if (null === $parent) {
              return null;
          }
  
          if (static::PARENT_DISABLE === $parent) {
              return false;
          }
  
          list($relation, $key) = explode(':', $parent, 2);
  
          return compact('relation', 'key');
      }
code_tokens: public function getListParent ( ) { $ parent = session ( ) -> get ( $ this -> getSessionKey ( static :: TYPE_PARENT ) ) ; if ( null === $ parent ) { return null ; } if ( static :: PARENT_DISABLE === $ parent ) { return false ; } list ( $ relation , $ key ) = explode ( ':' , $ parent , 2 ) ; return compact ( 'relation' , 'key' ) ; }
docstring: Returns active parent for current context.
  
  @return null|false|array  associative: 'relation', 'key'; false for disabled filter; null for default/unset
docstring_tokens: Returns active parent for current context .