mirror of
https://github.com/ivuorinen/bbcodeparser.git
synced 2026-01-26 11:23:58 +00:00
Initial commit with tests, and stuff.
This commit is contained in:
30
tests/ArrayTraitHelper.php
Normal file
30
tests/ArrayTraitHelper.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
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)
|
||||
{
|
||||
return $this->arrayOnly($parsers, $only);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $parsers
|
||||
* @param $except
|
||||
* @see \ivuorinen\BBCode\Traits\ArrayTrait::arrayExcept
|
||||
* @return array
|
||||
*/
|
||||
public function publicArrayExcept(array $parsers, $except)
|
||||
{
|
||||
return $this->arrayExcept($parsers, $except);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user