コード例 #1
0
ファイル: PackagesSequence.php プロジェクト: point/cassea
 /**
  */
 function __construct($path = null)
 {
     $this->file = is_null($path) ? PM::getDataDir()->getFile('packagesSequence.txt') : $path;
     if (!is_writable($this->file)) {
         throw new PackagesSequenceException('Sequence file (' . $this->file . ') not writable.');
     }
 }