public function createWithAssociations($blueprint_name, $associations = array(), $overrides = array()) { if (!($blueprint = $this->_blueprints[$blueprint_name])) { throw new \Exception("No blueprint defined for '{$blueprint_name}'"); } return $blueprint->create($overrides, $associations); }