# assistant/0.3.1/backend/src/System/Contracts/TransformerAbstract.php

Assistant – Every Day Productivity Apps, version 0.3.1. 17 lines.

- Page: https://pluginprobe.com/plugins/assistant/0.3.1/code/backend/src/System/Contracts/TransformerAbstract.php
- Raw: https://pluginprobe.com/plugins/assistant/0.3.1/raw/backend/src/System/Contracts/TransformerAbstract.php
- Modified: 2020-03-25T19:33:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/assistant/0.3.1/code/backend/src/System/Contracts/TransformerAbstract.php#L10-L20`.

```php
<?php

namespace FL\Assistant\System\Contracts;

abstract class TransformerAbstract {

	public function transform_array( $array ) {
		$transformed = [];

		foreach ( $array as $item ) {
			$transformed[] = $this( $item );
		}

		return $transformed;
	}
}

```
