src/Assert.php
public static function notEmpty(array $value, $keyword, $pointer)
    {
        if (!empty($value)) {
            return;
        }

        throw InvalidSchemaException::emptyArray($keyword, $pointer);
    }
public static function notEmpty(array $value, $keyword, $pointer)
    {
        if (!empty($value)) {
            return;
        }

        throw InvalidSchemaException::emptyArray($keyword, $pointer);
    }
public static function notEmpty ( array $ value , $ keyword , $ pointer ) { if ( ! empty ( $ value ) ) { return ; } throw InvalidSchemaException :: emptyArray ( $ keyword , $ pointer ) ; }
Validate an array has at least one element.

@param array  $value
@param string $keyword
@param string $pointer
Validate an array has at least one element .