includes/phing/src/Tasks/PropertiesValidateTask.php
public function setRequired($required)
    {
        if (is_string($required)) {
            $this->_required = new PhingFile($required);
        } else {
            $this->_required = $required;
        }
    }
public function setRequired($required)
    {
        if (is_string($required)) {
            $this->_required = new PhingFile($required);
        } else {
            $this->_required = $required;
        }
    }
public function setRequired ( $ required ) { if ( is_string ( $ required ) ) { $ this -> _required = new PhingFile ( $ required ) ; } else { $ this -> _required = $ required ; } }
Set a file to get the required properties.

@param string|PhingFile $required file to compare with

@return void
Set a file to get the required properties .