This commit is contained in:
2023-04-13 17:03:50 +03:00
commit 4c78e1c77a
27 changed files with 592 additions and 0 deletions
+63
View File
@@ -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
}
}