src/factory/FactoryAbstract.php
protected function isValidClass($object) {
            
        if(is_a($object, $this->validInterface)) {    
            return true;
        }
        throw new \InvalidArgumentException(get_class($object) . ' doesn\'t implements ' . $this->validInterface  );
    }
protected function isValidClass($object) {
            
        if(is_a($object, $this->validInterface)) {    
            return true;
        }
        throw new \InvalidArgumentException(get_class($object) . ' doesn\'t implements ' . $this->validInterface  );
    }
protected function isValidClass ( $ object ) { if ( is_a ( $ object , $ this -> validInterface ) ) { return true ; } throw new \ InvalidArgumentException ( get_class ( $ object ) . ' doesn\'t implements ' . $ this -> validInterface ) ; }
verify if class implements valid interface
@param Object $object
@throws \InvalidArgumentException
@return boolean
verify if class implements valid interface