mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 11:23:58 +00:00
33 lines
690 B
PHP
33 lines
690 B
PHP
<?php
|
|
|
|
namespace ivuorinen\BBCode\Tests;
|
|
|
|
use ivuorinen\BBCode\Traits\ArrayTrait;
|
|
|
|
class ArrayTraitHelper
|
|
{
|
|
use ArrayTrait;
|
|
|
|
/**
|
|
* @param array $parsers
|
|
* @param $only
|
|
* @see \ivuorinen\BBCode\Traits\ArrayTrait::arrayOnly
|
|
* @return array
|
|
*/
|
|
public function publicArrayOnly(array $parsers, $only): array
|
|
{
|
|
return $this->arrayOnly($parsers, $only);
|
|
}
|
|
|
|
/**
|
|
* @param array $parsers
|
|
* @param $except
|
|
* @see \ivuorinen\BBCode\Traits\ArrayTrait::arrayExcept
|
|
* @return array
|
|
*/
|
|
public function publicArrayExcept(array $parsers, $except): array
|
|
{
|
|
return $this->arrayExcept($parsers, $except);
|
|
}
|
|
}
|