/**
* @param Path|string $path
*/
from_text(Path|string $path) : TextExtractor
Extracts
Read from various data sources.
Transforms
Shape and optimize for your needs.
Loads
Store and secure in one of many available data sinks.
Modules
DSL Functions
DSL stands for Domain Specific Language. In the case of Flow, the DSL is used to define simple functions that can be used to transform data. Most of those functions are initializing a new instance of a class under the hood since Flow is fully object-oriented. Please look at the examples below to get a better understanding of how to use the DSL functions.
EXTRACTOR
LOADER
/**
* @param Path|string $path
* @param string $new_line_separator - default PHP_EOL - @deprecated use withNewLineSeparator method instead
*
* @return Loader
*/
to_text(Path|string $path, string $new_line_separator) : Loader