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');
    }
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');
    }
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' ) ; }
Returns active parent for current context.

@return null|false|array  associative: 'relation', 'key'; false for disabled filter; null for default/unset
Returns active parent for current context .