Function Tempcode->from_assembly_executed
Definitions
sources/tempcode.php
- The opposite of to_assembly - it decodes a Tempcode storage representation and turns it into a proper Tempcode object. This version handles the result of evaled code.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $file | PATH | No | No | required parameter | N/A | N/A | The file to load |
| $forced_reload_details | array | No | No | required parameter | N/A | N/A | List of parameters for a forced reload if required |
Returns
- Success status (it can fail, if the compiled cache file is corrupt)
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* The opposite of to_assembly - it decodes a Tempcode storage representation and turns it into a proper Tempcode object. This version handles the result of evaled code.
*
* @param PATH $file The file to load
* @param array $forced_reload_details List of parameters for a forced reload if required
* @return boolean Success status (it can fail, if the compiled cache file is corrupt)
*/
public function from_assembly_executed(string $file, array $forced_reload_details) : bool
* The opposite of to_assembly - it decodes a Tempcode storage representation and turns it into a proper Tempcode object. This version handles the result of evaled code.
*
* @param PATH $file The file to load
* @param array $forced_reload_details List of parameters for a forced reload if required
* @return boolean Success status (it can fail, if the compiled cache file is corrupt)
*/
public function from_assembly_executed(string $file, array $forced_reload_details) : bool

