for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of Sculpin.
*
* (c) Dragonfly Development Inc.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symplify\PHP7_Sculpin\Bundle\PaginationBundle;
use Symplify\PHP7_Sculpin\Bundle\PaginationBundle\DependencyInjection\Configuration;
use Symfony\Component\Config\Definition\ConfigurationInterface;
use Symplify\SimpleBundle\AbstractSimpleBundle;
final class SculpinPaginationBundle extends AbstractSimpleBundle
{
protected function getServicesFile() : string
return __DIR__.'/Resources/config/services.yml';
}
public function getConfiguration() : ConfigurationInterface
return new Configuration();
protected function getParametersAliases() : array
return [
'max_per_page' => 'sculpin_pagination.max_per_page',
];