| 1 | <?php |
||
| 19 | abstract class AbstractTransform implements TransformInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * The character used to separate modifier parameters. |
||
| 23 | * |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | public $paramDelimiter = '|'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Upper limit to how many levels of included data are allowed. |
||
| 30 | * |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | public $recursionLimit = 10; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Array containing modifiers as keys and an array value of params. |
||
| 37 | * |
||
| 38 | * @var array |
||
| 39 | */ |
||
| 40 | protected $params = []; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param array $config |
||
| 44 | */ |
||
| 45 | public function __construct(array $config = []) |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param string $include |
||
| 52 | * |
||
| 53 | * @return ParamBag |
||
| 54 | */ |
||
| 55 | public function getParams($include): ParamBag |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Trim to Acceptable Recursion Level |
||
| 63 | * |
||
| 64 | * @param string $includeName |
||
| 65 | * |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | protected function trimToAcceptableRecursionLevel($includeName) |
||
| 72 | } |
||
| 73 |