L5Swagger\Generator::defineConstants PHP 메소드

defineConstants() 보호된 정적인 메소드

protected static defineConstants ( array $constants )
$constants array
    protected static function defineConstants(array $constants)
    {
        if (!empty($constants)) {
            foreach ($constants as $key => $value) {
                defined($key) || define($key, $value);
            }
        }
    }