app/maguttiCms/Tools/FileHelper.php
/**
     * This method is used to get an array of all the constants of the class.
     *
     * @return array
     */
This method is used to get an array of all the constants of the class.
@return array
This method is used to get an array of all the constants of the class . @return array
public static function toArray(): array
    {
        $self = new ReflectionClass(__CLASS__);
        return $self->getConstants();
    }
public static function toArray ( ) : array { $ self = new ReflectionClass ( __CLASS__ ) ; return $ self -> getConstants ( ) ; }
This method is used to get an array of all the constants of the class.
This method is used to get an array of all the constants of the class .