src/Genesis/Utils/Common.php
public static function isClassAbstract($className)
    {
        if (!class_exists($className)) {
            return false;
        }

        $reflectionClass = new \ReflectionClass($className);

        return $reflectionClass->isAbstract();
    }
public static function isClassAbstract($className)
    {
        if (!class_exists($className)) {
            return false;
        }

        $reflectionClass = new \ReflectionClass($className);

        return $reflectionClass->isAbstract();
    }
public static function isClassAbstract ( $ className ) { if ( ! class_exists ( $ className ) ) { return false ; } $ reflectionClass = new \ ReflectionClass ( $ className ) ; return $ reflectionClass -> isAbstract ( ) ; }
Determines if the given class is Instantiable or not
Helps to prevent from creating an instance of an abstract class

@param string $className
@return bool
Determines if the given class is Instantiable or not Helps to prevent from creating an instance of an abstract class