Files
ixrs.catalog/lib/Collection/CatalogCollection.php
T
2026-07-07 17:09:04 +03:00

78 lines
1.6 KiB
PHP

<?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
}
}