/** * @inheritdoc */ public function behaviors() { return array_merge(parent::behaviors(), ['createProfile' => ['class' => 'frontend\\behaviors\\CreateUserProfileBehavior']]); }