public function __construct() { $this->modified[null] = true; $this->metadata = $this->createMetadata(); $this->fireEvent('onCreate'); }