Cake\Chronos\Traits\FactoryTrait::getLastErrors PHP Method

getLastErrors() public static method

Returns any errors or warnings that were found during the parsing of the last object created by this class.
public static getLastErrors ( ) : array
return array
    public static function getLastErrors()
    {
        if (empty(static::$_lastErrors)) {
            return parent::getLastErrors();
        }
        return static::$_lastErrors;
    }