|
|
@ -69,7 +69,7 @@ abstract class DatastreamValidator extends IslandoraTestUtilityClass { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* The IslandoraFedoraObject containing the datastream to test. |
|
|
|
* The IslandoraFedoraObject containing the datastream to test. |
|
|
|
* |
|
|
|
* |
|
|
|
* @var IslandoraFedoraObject |
|
|
|
* @var IslandoraFedoraObject|FedoraObject |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public $object; |
|
|
|
public $object; |
|
|
|
|
|
|
|
|
|
|
@ -97,14 +97,14 @@ abstract class DatastreamValidator extends IslandoraTestUtilityClass { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* Constructs a DatastreamValidator. |
|
|
|
* Constructs a DatastreamValidator. |
|
|
|
* |
|
|
|
* |
|
|
|
* @param IslandoraFedoraObject $object |
|
|
|
* @param IslandoraFedoraObject|FedoraObject $object |
|
|
|
* The object to grab the datastream from. |
|
|
|
* The object to grab the datastream from. |
|
|
|
* @param string $datastream |
|
|
|
* @param string $datastream |
|
|
|
* The DSID of the datastream itself. |
|
|
|
* The DSID of the datastream itself. |
|
|
|
* @param array $params |
|
|
|
* @param array $params |
|
|
|
* An extra array of parameters the validator might need. |
|
|
|
* An extra array of parameters the validator might need. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public function __construct(IslandoraFedoraObject $object, $datastream, array $params = array()) { |
|
|
|
public function __construct($object, $datastream, array $params = array()) { |
|
|
|
$this->object = $object; |
|
|
|
$this->object = $object; |
|
|
|
$this->datastream = $datastream; |
|
|
|
$this->datastream = $datastream; |
|
|
|
$this->params = $params; |
|
|
|
$this->params = $params; |
|
|
|