mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
33 lines
No EOL
486 B
PHP
33 lines
No EOL
486 B
PHP
<?php
|
|
/**
|
|
*
|
|
* @package testing
|
|
* @copyright (c) 2008 phpBB Group
|
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
|
*
|
|
*/
|
|
|
|
/**
|
|
* phpbb_mock_lang
|
|
* mock a user with some language-keys specified
|
|
*/
|
|
class phpbb_mock_lang implements ArrayAccess
|
|
{
|
|
public function offsetExists($offset)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function offsetGet($offset)
|
|
{
|
|
return $offset;
|
|
}
|
|
|
|
public function offsetSet($offset, $value)
|
|
{
|
|
}
|
|
|
|
public function offsetUnset($offset)
|
|
{
|
|
}
|
|
} |