public function __construct($namePath = array(), Field $itemField = null) { parent::__construct($namePath); $this->itemField = $itemField; }
/** * @dataProvider providerTestPrintableNamePath */ public function testPrintableNamePath($fieldPath, $expected) { $field = new Raw($fieldPath); $value = $field->getPrintableNamePath(); $this->assertSame($expected, $value); }
public function __construct($namePath = array()) { parent::__construct($namePath); $this->allowStringValues = false; $this->allowIntegerValues = false; }
public function __construct($namePath, $dateFormat) { parent::__construct($namePath); $this->dateFormat = $dateFormat; }