tflori/orm

just another orm...

View the Project on GitHub tflori/orm

Build Status Test Coverage Maintainability Latest Stable Version Total Downloads

» API Reference » ORM\Entity\Booting

ORM\Entity\Booting

Table of Contents

Abstract

Methods

ORM\Entity\Booting::boot

protected static function boot(): mixed
Boot the class

Overwrite this method to define relations, observers etc. - always call parent::boot().

Static   This method is static.
Returns mixed  

ORM\Entity\Booting::boot

↑ top


ORM\Entity\Booting::bootIfNotBooted

public static function bootIfNotBooted(): mixed
Boot the class if it not already booted
Static   This method is static.
Returns mixed  

ORM\Entity\Booting::bootIfNotBooted

↑ top