src/Controller/PlatformSchemeController.php
private function getMaxImageSize()
    {
        $config    = $this->getServiceLocator()->get('MelisCoreConfig');
        $path      = $config->getItem('meliscore/interface/meliscore_leftmenu/interface/meliscore_toolstree_section/interface/meliscore_tool_system_config/interface/meliscore_tool_platform_scheme');
        $imagesize = null;


        if($path) {
            $imageSize = isset($path['datas']['image_size_limit']) ? $path['datas']['image_size_limit'] : null;
        }

        return $imageSize;
    }
private function getMaxImageSize()
    {
        $config    = $this->getServiceLocator()->get('MelisCoreConfig');
        $path      = $config->getItem('meliscore/interface/meliscore_leftmenu/interface/meliscore_toolstree_section/interface/meliscore_tool_system_config/interface/meliscore_tool_platform_scheme');
        $imagesize = null;


        if($path) {
            $imageSize = isset($path['datas']['image_size_limit']) ? $path['datas']['image_size_limit'] : null;
        }

        return $imageSize;
    }
private function getMaxImageSize ( ) { $ config = $ this -> getServiceLocator ( ) -> get ( 'MelisCoreConfig' ) ; $ path = $ config -> getItem ( 'meliscore/interface/meliscore_leftmenu/interface/meliscore_toolstree_section/interface/meliscore_tool_system_config/interface/meliscore_tool_platform_scheme' ) ; $ imagesize = null ; if ( $ path ) { $ imageSize = isset ( $ path [ 'datas' ] [ 'image_size_limit' ] ) ? $ path [ 'datas' ] [ 'image_size_limit' ] : null ; } return $ imageSize ; }
Returns the maximum file image size from the configuration
@return null|long
Returns the maximum file image size from the configuration