This commit is contained in:
Bellord
2026-07-07 17:09:04 +03:00
commit 19eaeb4f4e
33 changed files with 792 additions and 0 deletions
+78
View File
@@ -0,0 +1,78 @@
<?php
namespace Ixrs\Catalog\Collection;
use Wt\Core\Collection\AEntityCollection;
use Ixrs\Catalog\Entity\CatalogEntity;
class CatalogCollection extends AEntityCollection
{
/**
* @param $xmlId
* @return CatalogEntity
* @deprecated
*/
public function &getByXmlId($xmlId)
{
return parent::getByXmlId($xmlId);
}
/**
* @param $id
* @param null $default
* @return CatalogEntity|null
*/
public function &get($id, $default = null)
{
return parent::get($id, $default); // TODO: Change the autogenerated stub
}
/**
* @return CatalogEntity
*/
public function &first(callable $callback = null, $default = null)
{
return parent::first($callback, $default); // TODO: Change the autogenerated stub
}
/**
* @return CatalogEntity
*/
public function &last()
{
return parent::last(); // TODO: Change the autogenerated stub
}
/**
* @return CatalogEntity
*/
public function shift()
{
return parent::shift(); // TODO: Change the autogenerated stub
}
/**
* @return CatalogEntity
*/
public function pop()
{
return parent::pop(); // TODO: Change the autogenerated stub
}
/**
* @return CatalogCollection|CatalogEntity[]
*/
public function filter($callback = null)
{
return parent::filter($callback); // TODO: Change the autogenerated stub
}
/**
* @return CatalogEntity[]
*/
public function all()
{
return parent::all(); // TODO: Change the autogenerated stub
}
}