public static function createWithIdentifier(AggregateRootIdentifier $identifier) { $instance = new self(); $instance->setIdentifier($identifier); return $instance; }