<?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]每天laravel-20160928|PresenceVerifierInterface.php
原创
©著作权归作者所有:来自51CTO博客作者lijingsan1的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章