src/db/orm/DAO.php
final public static function getImplementation($class) {
        if (!is_a($class, __CLASS__, $allowString=true)) {
            if (!is_class($class)) throw new ClassNotFoundException('Class not found: '.$class );
            throw new InvalidArgumentException('Not a '.__CLASS__.' subclass: '.$class);
        }
        /** @var self $dao */
        $dao = self::getInstance($class);
        return $dao;
    }
final public static function getImplementation($class) {
        if (!is_a($class, __CLASS__, $allowString=true)) {
            if (!is_class($class)) throw new ClassNotFoundException('Class not found: '.$class );
            throw new InvalidArgumentException('Not a '.__CLASS__.' subclass: '.$class);
        }
        /** @var self $dao */
        $dao = self::getInstance($class);
        return $dao;
    }
final public static function getImplementation ( $ class ) { if ( ! is_a ( $ class , __CLASS__ , $ allowString = true ) ) { if ( ! is_class ( $ class ) ) throw new ClassNotFoundException ( 'Class not found: ' . $ class ) ; throw new InvalidArgumentException ( 'Not a ' . __CLASS__ . ' subclass: ' . $ class ) ; } /** @var self $dao */ $ dao = self :: getInstance ( $ class ) ; return $ dao ; }
Get the specified DAO implementation.

@param  string $class - DAO class name

@return self
Get the specified DAO implementation .