Skip to content

[POC] Added support for embedding the shell #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2014
Merged

Conversation

dantleech
Copy link
Member

Enables the PHPCR session to be set externally and provides a more minimal application which can be envoked from a "parent" application.


class EmbeddedApplication extends ShellApplication
{
public function __construct($name = 'UNKNOWN', $version = 'UNKNOWN')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why defining 2 arguments which are ignored ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assumed they were required by the interface, removing.

@stof
Copy link

stof commented Jun 5, 2014

the embedded application should probably set autoExit to false by default (you never want to autoExit if it is embedded)

@dantleech dantleech added this to the v1.0 milestone Jun 8, 2014
*
* @var boolean
*/
protected $writeConfiguration = true;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this

dantleech added a commit that referenced this pull request Aug 10, 2014
[POC] Added support for embedding the shell
@dantleech dantleech merged commit 1d11269 into master Aug 10, 2014
@dantleech dantleech deleted the embedded_shell branch August 10, 2014 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants