public function __construct($underscoreSeparatedKeys = true) { parent::__construct($underscoreSeparatedKeys); $this->addStrategy('rating', new HasOneStrategy(new RatingObject(), false)); /* $this->addStrategy( 'night_club_reference', // TODO add referece new HasOneStrategy(new NightClubReference(), false) ); */ }
public function __construct($underscoreSeparatedKeys = true) { parent::__construct($underscoreSeparatedKeys); $this->addStrategy('rating', new HasOneStrategy(new RatingObject(), false)); }
public function __construct($underscoreSeparatedKeys = true) { parent::__construct($underscoreSeparatedKeys); $this->addStrategy('night_club_reference', new HasOneStrategy(new NightClubReference(), false)); }