private function registerModelChecks()
    {
        $models = $this->getRegistryCache()->getModels();

        /** @var $modelObj Model */
        foreach ($models as $name => $modelObj) {
            if (!$modelObj->hasMethod('checks')) {
                continue;
            }

            self::getCheckRegistry()->register([$modelObj, 'checks'], [Tags::Model]);
        }
    }
private function registerModelChecks()
    {
        $models = $this->getRegistryCache()->getModels();

        /** @var $modelObj Model */
        foreach ($models as $name => $modelObj) {
            if (!$modelObj->hasMethod('checks')) {
                continue;
            }

            self::getCheckRegistry()->register([$modelObj, 'checks'], [Tags::Model]);
        }
    }
private function registerModelChecks ( ) { $ models = $ this -> getRegistryCache ( ) -> getModels ( ) ; /** @var $modelObj Model */ foreach ( $ models as $ name => $ modelObj ) { if ( ! $ modelObj -> hasMethod ( 'checks' ) ) { continue ; } self :: getCheckRegistry ( ) -> register ( [ $ modelObj , 'checks' ] , [ Tags :: Model ] ) ; } }
Runs checks on the application models.

@internal

@since  1.1.0

@author Eddilbert Macharia (http://eddmash.com) <edd.cowan@gmail.com>
Runs checks on the application models .