Clinner\ValueHolder::count PHP Method

count() public method

Get the number of arguments set to this ValueHolder.
public count ( ) : integer
return integer
    public function count()
    {
        return count($this->_values);
    }

Usage Example

Example #1
0
 /**
  * @dataProvider getInitialValues
  */
 public function testCount($initialValues)
 {
     $valueHolder = new ValueHolder($initialValues);
     $this->assertEquals(count($initialValues), $valueHolder->count());
 }