private function getClassExtends()
    {
        if( $this->isMultiton() ) {
            $this->class->addUses('\Bond\Repository\Multiton as RM');
            $this->class->addExtends('RM');
        } else {
            $this->class->addUses('\Bond\Repository as R');
            $this->class->addExtends('R');
        }

    }