public function clearCacheAction()
    {
        /* @var $cache FlushableCache */
        $cache = $this->serviceLocator->get('DiCache');

        if ($cache instanceof FlushableCache) {
            $cache->flushAll();
        }

        echo "PHP DI definitions cache was cleared." . PHP_EOL . PHP_EOL;
    }
public function clearCacheAction()
    {
        /* @var $cache FlushableCache */
        $cache = $this->serviceLocator->get('DiCache');

        if ($cache instanceof FlushableCache) {
            $cache->flushAll();
        }

        echo "PHP DI definitions cache was cleared." . PHP_EOL . PHP_EOL;
    }
public function clearCacheAction ( ) { /* @var $cache FlushableCache */ $ cache = $ this -> serviceLocator -> get ( 'DiCache' ) ; if ( $ cache instanceof FlushableCache ) { $ cache -> flushAll ( ) ; } echo "PHP DI definitions cache was cleared." . PHP_EOL . PHP_EOL ; }
flushes php di definitions cache
flushes php di definitions cache