DeploymentStrategy::toArray PHP 메소드

toArray() 공개 메소드

Transform the deployment strategy to an array.
public toArray ( ) : array
리턴 array
    public function toArray()
    {
        $fields = array('actionTitle', 'actionCode', 'estimatedTime', 'changes', 'options', 'validationCode', 'messages');
        $output = array();
        foreach ($fields as $field) {
            $output[$field] = $this->{$field};
        }
        return $output;
    }