/** * Release key * * @param string $key * @return boolean * @throws \InvalidArgumentException */ public function release($key) { $key = $this->string()->toUpper($key); if (!$this->dictionary->has($key)) { return true; } $entity = $this->dictionary->get($key); $this->dictionary->delete($key); return $this->adaptor()->release($entity); }
public function __construct() { parent::__construct(BaseField::getClass()); }
/** * Return columns * * @return Dictionary */ public function getColumns() { $dictionary = new Dictionary('BX\\DB\\Column\\IColumn'); $data = $this->columns(); $dictionary->setData($data); return $dictionary; }