src/Charcoal/Cache/CacheBuilder.php
private function applyPoolOptions(PoolInterface $pool, array $options)
    {
        if (isset($options['logger'])) {
            $pool->setLogger($options['logger']);
        }

        if (isset($options['item_class'])) {
            $pool->setItemClass($options['item_class']);
        }

        if (isset($options['namespace'])) {
            $pool->setNamespace($options['namespace']);
        }
    }
private function applyPoolOptions(PoolInterface $pool, array $options)
    {
        if (isset($options['logger'])) {
            $pool->setLogger($options['logger']);
        }

        if (isset($options['item_class'])) {
            $pool->setItemClass($options['item_class']);
        }

        if (isset($options['namespace'])) {
            $pool->setNamespace($options['namespace']);
        }
    }
private function applyPoolOptions ( PoolInterface $ pool , array $ options ) { if ( isset ( $ options [ 'logger' ] ) ) { $ pool -> setLogger ( $ options [ 'logger' ] ) ; } if ( isset ( $ options [ 'item_class' ] ) ) { $ pool -> setItemClass ( $ options [ 'item_class' ] ) ; } if ( isset ( $ options [ 'namespace' ] ) ) { $ pool -> setNamespace ( $ options [ 'namespace' ] ) ; } }
Apply any pool options on the new pool object.

@param  PoolInterface $pool    The new pool.
@param  array         $options Settings for the new pool.
@return void
Apply any pool options on the new pool object .