concrete/src/Captcha/Library.php
public static function getActive()
    {
        $app = Facade::getFacadeApplication();
        $db = $app->make('database')->connection();
        $sclHandle = $db->fetchColumn('select sclHandle from SystemCaptchaLibraries where sclIsActive = 1');

        return ($sclHandle === false) ? null : static::getByHandle($sclHandle);
    }
public static function getActive()
    {
        $app = Facade::getFacadeApplication();
        $db = $app->make('database')->connection();
        $sclHandle = $db->fetchColumn('select sclHandle from SystemCaptchaLibraries where sclIsActive = 1');

        return ($sclHandle === false) ? null : static::getByHandle($sclHandle);
    }
public static function getActive ( ) { $ app = Facade :: getFacadeApplication ( ) ; $ db = $ app -> make ( 'database' ) -> connection ( ) ; $ sclHandle = $ db -> fetchColumn ( 'select sclHandle from SystemCaptchaLibraries where sclIsActive = 1' ) ; return ( $ sclHandle === false ) ? null : static :: getByHandle ( $ sclHandle ) ; }
Get the active library.

@return static|null
Get the active library .