We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://orm.petrprochazka.com/forum/post/461/#p461
Zvazuji přidání Orm\MetaDataProperty::addSetter a Orm\MetaDataProperty::addGetter do 0.4 (možná se to dostane až do 0.5)
Orm\MetaDataProperty::addSetter
Orm\MetaDataProperty::addGetter
/** @property int|NULL $ic {emptyStringToNull} */ class User extends BaseEntity { }
class MyMetaDataProperty extends Orm\MetaDataProperty { public function setEmptyStringToNull() { $this->addSetter(function ($value) { if ($value === '') { $value = NULL; } return $value; }); } }
The text was updated successfully, but these errors were encountered:
Presunuto do milestonu 0.5
Sorry, something went wrong.
No branches or pull requests
http://orm.petrprochazka.com/forum/post/461/#p461
Zvazuji přidání
Orm\MetaDataProperty::addSetter
aOrm\MetaDataProperty::addGetter
do 0.4 (možná se to dostane až do 0.5)The text was updated successfully, but these errors were encountered: