count() public method

Get the number of arguments set to this ValueHolder.
public count ( ) : integer
return integer
Example #1
0
 /**
  * @dataProvider getInitialValues
  */
 public function testCount($initialValues)
 {
     $valueHolder = new ValueHolder($initialValues);
     $this->assertEquals(count($initialValues), $valueHolder->count());
 }