This change allows to run psysh from the root monorepo directory
and directly import any class from any of the Keruald libraries.
OmniTools provides such a configuration, but it's not available
when loaded from the monorepo.
Differential D3841
Configure PsySH to autoload Authored by dereckson on Sun, Nov 2, 20:15. Tags None Referenced Files None Subscribers None
Details
This change allows to run psysh from the root monorepo directory OmniTools provides such a configuration, but it's not available $ psysh Psy Shell v0.12.8 (PHP 8.4.14 — cli) by Justin Hileman New version is available at psysh.org/psysh (current: v0.12.8, latest: v0.12.14) > use Keruald\OmniTools\Collections\Vector; > print_r((new Vector([1, 2, 3]))->bigrams()) Keruald\OmniTools\Collections\Vector Object ( [items:protected] => Array ( [0] => Array ( [0] => 1 [1] => 2 ) [1] => Array ( [0] => 2 [1] => 3 ) ) ) = true
Diff Detail
|