I want to use use Day, Week, Month and Year functions of DoctrineExtensions in ZF2 and am getting the below error message. The code works fine on my local machine running on Windows but the same code does not work on server running on Linux.
Fatal error: Uncaught Error: Class 'DoctrineExtensions\Query\Mysql\Day' not found
Here is my module.config.php configuration
'configuration' => array(
'orm_default' => array(
'datetime_functions' => array(
'day' => 'DoctrineExtensions\Query\MySql\Day',
'week' => 'DoctrineExtensions\Query\MySql\Week',
'month' => 'DoctrineExtensions\Query\MySql\Month',
'Year' => 'DoctrineExtensions\Query\MySql\Year',
),
'string_functions' => array(),
)
),
I installed the module using composer.