Closed yuriybabenko closed 10 years ago
Could you provide a screenshot here please bud? :)
Sure. Any particular code snippet you want, or will anything do?
Anything is fine, thanks man :)
Yuriy Babenko wrote:
Sure. Any particular code snippet you want, or will anything do?
— Reply to this email directly or view it on GitHub https://github.com/daylerees/colour-schemes/pull/87#issuecomment-32972506.
I used the same code found in (most) of your existing screenshots.
And here it is, to save the next person some typing:
<?php
/**
* Get the value at a given offset.
*
* @param string $key
* @return mixed
*/
public function offsetGet($key)
{
if ( ! array_key_exists($key, $this->bindings))
{
throw new \InvalidArgumentException("Type {$key} is not bound.");
}
return $this->make($key);
}
Haha :) It's a snippet from the Laravel container class.
Thanks!
Cheers!
Adding the 'Yuba' theme which I've been using for some years. This theme mostly uses colours from the 'Green Chaud' theme for Aptana / Eclipse (by Boris Popoff).