/** * Constructs a PropertyRequest. * * @param array $parameters An array of parameters to initialize the {@link PropertyRequest} with. * - <b>forfetching</b> - Whether this property should be included in the SearchResult. */ public function __construct($parameters = []) { parent::__construct($parameters); $this->forfetching = true; if (isset($parameters['forfetching'])) { $this->setForfetching($parameters['forfetching']); } }
/** * Creates a PropertyRequest. * @param string $systemName The system name of the property. * @author Björn Hjortsten * @return PropertyRequest */ public function __construct($systemName) { parent::__construct($systemName, null, PropertyCriteria::EQUAL, true); }