コード例 #1
0
 public function Execute(Database $database)
 {
     $database->Execute(new RemoveReservationAttachmentCommand($this->event->FileId()));
     ServiceLocator::GetFileSystem()->RemoveFile(Paths::ReservationAttachments() . $this->event->FileName());
 }
コード例 #2
0
ファイル: FileSystem.php プロジェクト: Trideon/gigolo
 /**
  * @return string
  */
 public function GetReservationAttachmentsPath()
 {
     return Paths::ReservationAttachments();
 }