Skip to content
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

"Implements", "Properties" and "Methods" #18

Open
sil2 opened this issue Dec 24, 2013 · 1 comment
Open

"Implements", "Properties" and "Methods" #18

sil2 opened this issue Dec 24, 2013 · 1 comment

Comments

@sil2
Copy link

sil2 commented Dec 24, 2013

I love this project but have one concern

Would it be possible add a parameter to r() to show only object values as (var_dump but coloured) without annoying methods and implements variables only?

Let say, r() will return me only "Implements", "Properties" and "Methods" lists but var_dump return actual data.

Example of useless r() output

$message/media/DriveD/www/complex/test2.php:47XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object(ImplementsCountable (1), Iterator (5), RecursiveIterator (7), Traversable (0)Properties->xml_ns=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->xml_ns_url=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->encoded=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->Body=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->MD5OfBody=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->ReceiptHandle=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()->MessageId=XSimpleXMLElement :: XSimpleXMLIterator :: XCFSimpleXML object()Methods->__call($name, $arguments)->__toString()::init($data, $options, $data_is_url, $ns, $is_prefix = false)->query($expr)->parent($node = null)->to_string()->to_array()->to_stdClass()->to_json()->to_yaml()->is($value)->contains($value)->matches($pattern)->starts_with($value)->ends_with($value)->rewind()->valid()->current()->key()->next()->hasChildren()->getChildren()->F__construct($data, $options = null, $data_is_url = null, $ns = null, $is_prefix = null)->asXML($filename = null)->saveXML($filename = null)->xpath($path)->registerXPathNamespace($prefix, $ns)->attributes($ns = null, $is_prefix = null)->children($ns = null, $is_prefix = null)->getNamespaces($recursve = null)->getDocNamespaces($recursve = null)->getName()->addChild($name, $value = null, $ns = null)->addAttribute($name, $value = null, $ns = null)->count())

thanks!

@sil2 sil2 changed the title dear developer! "Implements", "Properties" and "Methods" Sep 26, 2014
@digitalnature
Copy link
Owner

There is a config option that lets you disable methods, ref::config('showMethods', false);

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

No branches or pull requests

2 participants