Preview: InflectorAggregateInterface.php
Size: 677 B
/var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/vendor/league/container/src/Inflector/InflectorAggregateInterface.php
<?php declare(strict_types=1);
namespace Automattic\Kkart\Vendor\League\Container\Inflector;
use IteratorAggregate;
use Automattic\Kkart\Vendor\League\Container\ContainerAwareInterface;
interface InflectorAggregateInterface extends ContainerAwareInterface, IteratorAggregate
{
/**
* Add an inflector to the aggregate.
*
* @param string $type
* @param callable $callback
*
* @return Inflector
*/
public function add(string $type, callable $callback = null) : Inflector;
/**
* Applies all inflectors to an object.
*
* @param object $object
* @return object
*/
public function inflect($object);
}
Directory Contents
Dirs: 0 × Files: 4