您的位置:首页 > 编程语言 > PHP开发

[李景山php]每天laravel-20160928|PresenceVerifierInterface.php

2016-07-27 09:09 495 查看
<?php

namespace Illuminate\Validation;

interface PresenceVerifierInterface
{// this is a interface
/**
* Count the number of objects in a collection having the given value.
*
* @param  string  $collection
* @param  string  $column
* @param  string  $value
* @param  int     $excludeId
* @param  string  $idColumn
* @param  array   $extra
* @return int
*/
public function getCount($collection, $column, $value, $excludeId = null, $idColumn = null, array $extra = []);
// Count the number of objects in a collection having the given value
// just Count by
/**
* Count the number of objects in a collection with the given values.
*
* @param  string  $collection
* @param  string  $column
* @param  array   $values
* @param  array   $extra
* @return int
*/
public function getMultiCount($collection, $column, array $values, array $extra = []);
// get MultiCount
}


本文出自 “专注php” 博客,请务必保留此出处http://jingshanls.blog.51cto.com/3357095/1830518
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: