Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/blame/commit/70ec8e340eaa53015e958ba1c91e825ae79cca7d/system/database/databases/object/Aux/ComplementItem.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

33 lines
618 B

<?php
/**
* Copyright © 2023 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
*/
namespace Phacil\Framework\Databases\Object\Aux;
abstract class ComplementItem {
/**
*
* @var array|null
*/
protected $__data = null;
/**
*
* @return int<0, \max>
*/
public function count(): int {
return count($this->__data);
}
/**
*
* @return \Traversable<mixed, mixed>|mixed[]
*/
public function getIterator(): \Traversable {
return new \ArrayIterator($this->__data);
}
}