protected function isValidClass($object) {
            
        if(is_a($object, $this->validInterface)) {    
            return true;
        }
        throw new \InvalidArgumentException(get_class($object) . ' doesn\'t implements ' . $this->validInterface  );
    }