コード例 #1
0
ファイル: Unique.php プロジェクト: romeoz/rock-db
 public function __construct($targetAttribute = null, $targetClass = null, $filter = null, $config = [])
 {
     parent::__construct($config);
     $this->targetClass = $targetClass;
     $this->targetAttribute = $targetAttribute;
     $this->filter = $filter;
 }
コード例 #2
0
ファイル: MongoIdRule.php プロジェクト: romeoz/rock-mongodb
 public function __construct($forceFormat = null, $config = [])
 {
     parent::__construct($config);
 }