name: CountInDatabase class_comment: null dependencies: - name: Connection type: class source: Illuminate\Database\Connection - name: Constraint type: class source: PHPUnit\Framework\Constraint\Constraint - name: ReflectionClass type: class source: ReflectionClass properties: - name: database visibility: protected comment: '# * The database connection. # * # * @var \Illuminate\Database\Connection' - name: expectedCount visibility: protected comment: '# * The expected table entries count that will be checked against the actual count. # * # * @var int' - name: actualCount visibility: protected comment: '# * The actual table entries count that will be checked against the expected count. # * # * @var int' methods: - name: __construct visibility: public parameters: - name: database - name: expectedCount comment: "# * The database connection.\n# *\n# * @var \\Illuminate\\Database\\Connection\n\ # */\n# protected $database;\n# \n# /**\n# * The expected table entries count\ \ that will be checked against the actual count.\n# *\n# * @var int\n# */\n# protected\ \ $expectedCount;\n# \n# /**\n# * The actual table entries count that will be\ \ checked against the expected count.\n# *\n# * @var int\n# */\n# protected $actualCount;\n\ # \n# /**\n# * Create a new constraint instance.\n# *\n# * @param \\Illuminate\\\ Database\\Connection $database\n# * @param int $expectedCount\n# * @return\ \ void" - name: matches visibility: public parameters: - name: table comment: '# * Check if the expected and actual count are equal. # * # * @param string $table # * @return bool' - name: failureDescription visibility: public parameters: - name: table comment: '# * Get the description of the failure. # * # * @param string $table # * @return string' - name: toString visibility: public parameters: - name: options default: '0' comment: '# * Get a string representation of the object. # * # * @param int $options # * @return string' traits: - Illuminate\Database\Connection - PHPUnit\Framework\Constraint\Constraint - ReflectionClass interfaces: []