public function prepare_to_cache() {
        return array(
            'class' => get_class($this),
            'id' => $this->id,
            'ctxid' => $this->context->id,
            'options' => $this->options,
            'readonly' => $this->readonly
        );
    }
public function prepare_to_cache() {
        return array(
            'class' => get_class($this),
            'id' => $this->id,
            'ctxid' => $this->context->id,
            'options' => $this->options,
            'readonly' => $this->readonly
        );
    }
public function prepare_to_cache ( ) { return array ( 'class' => get_class ( $ this ) , 'id' => $ this -> id , 'ctxid' => $ this -> context -> id , 'options' => $ this -> options , 'readonly' => $ this -> readonly ) ; }
Prepares the repository to be cached. Implements method from cacheable_object interface.

@return array
Prepares the repository to be cached . Implements method from cacheable_object interface .