fix
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Bx\Null\Collection;
|
||||
|
||||
|
||||
use Wt\Core\Collection\AEntityCollection;
|
||||
use Bx\Null\Entity\NullEntity;
|
||||
|
||||
class NullCollection extends AEntityCollection
|
||||
{
|
||||
|
||||
/**
|
||||
* @param $xmlId
|
||||
* @return NullEntity
|
||||
*/
|
||||
public function &getByXmlId($xmlId)
|
||||
{
|
||||
return parent::getByXmlId($xmlId);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $id
|
||||
* @param null $default
|
||||
* @return NullEntity|null
|
||||
*/
|
||||
public function &get($id, $default = null)
|
||||
{
|
||||
return parent::get($id, $default); // TODO: Change the autogenerated stub
|
||||
}
|
||||
|
||||
/**
|
||||
* @return NullEntity
|
||||
*/
|
||||
public function &first()
|
||||
{
|
||||
return parent::first(); // TODO: Change the autogenerated stub
|
||||
}
|
||||
|
||||
/**
|
||||
* @return NullEntity
|
||||
*/
|
||||
public function &last()
|
||||
{
|
||||
return parent::last(); // TODO: Change the autogenerated stub
|
||||
}
|
||||
|
||||
/**
|
||||
* @return NullEntity
|
||||
*/
|
||||
public function shift()
|
||||
{
|
||||
return parent::shift(); // TODO: Change the autogenerated stub
|
||||
}
|
||||
|
||||
/**
|
||||
* @return NullEntity
|
||||
*/
|
||||
public function pop()
|
||||
{
|
||||
return parent::pop(); // TODO: Change the autogenerated stub
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user